Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop a Vite plugin for getStoreApi #135

Open
gunta opened this issue Mar 7, 2024 · 2 comments
Open

Develop a Vite plugin for getStoreApi #135

gunta opened this issue Mar 7, 2024 · 2 comments

Comments

@gunta
Copy link

gunta commented Mar 7, 2024

Is your feature request related to a problem? Please describe.
Running the tinybase command line each time may get a bit tedious.

Describe the solution you'd like
Watch the schema files automatically with a Vite plugin.

@jamesgpearce
Copy link
Contributor

This is possible, but generally I am hoping people move to using the schema-based typing (https://tinybase.org/guides/schemas-and-persistence/schema-based-typing/) rather than the code generation approach (in the long run).

Leaving the issue open though.

@gunta
Copy link
Author

gunta commented Mar 17, 2024

I see! Perhaps it would be nice to add to the documentation the pro/cons of each approach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants