how to add defineStore state type restrict #1985
Unanswered
jeremygoccc
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to create a library to export some common stores with common state fields for projects and restrict project stores to define the repeat field.
For example:
I think the way is to combine the common state fields type to rewrite the
defineStore
type, but I am not familiar with this.Can someone provide me with some advice? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions