DEV Community

Discussion on: You Might Not Need Vuex with Vue 3

vuesomedev profile image
Gábor Soós Author

Just an example on the Readme on how to use it with the app instances use method. app.use(store)

Thread Thread
davestewart profile image
Dave Stewart

There's no use per-se, you just create the models and use them where you need them.

If you want a "global" style example, either import as needed or use inject exactly as you have (example code in the README):

github.com/davestewart/vue-class-s...