-
-
Notifications
You must be signed in to change notification settings - Fork 11
-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
model.$entity is not a function #121
Comments
Did you read the docs? There is no longer a need to register models. |
Ok so does this mean the vuex-orm-localforage plugin doesn't work with vuex-orm-next ? |
Our app is based around the localforage plugin, so taking a bit of a look at what it would take to migrate it. The components object passed to the plugin on install .. mine is looking a bit bare! I tried looking at the @vuex-orm/plugin-axios and @vuex-orm/plugin-soft-delete plugins to see how they are working, but looks like they aren't ready for vuex-orm-next either. if you could give us a few tips would be good. Thanks |
We are using vuex4 and vue3 and just moved from @vuex-orm/core 0.36.4 to the 1.0.0-draft.16 version and getting this error when trying to register model with Database.register method.
The old @vuex-orm/core 0.36.4 version was working with vue3 and vuex4, though we are experiencing what appears to be a minor bug so keen to try the new version. Thanks.
database/index.js
store
models
using the store the vue 3 way
The text was updated successfully, but these errors were encountered: