Open jpmc3630 opened 2 years ago
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