3 ms·
Not sure about Vue 3, but in Vue 2 you can simply use a Vue instance without a template as a reactive store. You can also share an object between Vue instances.
by pier25 6y ago
Not sure about Vue 3, but in Vue 2 you can simply use a Vue instance without a template as a reactive store. You can also share an object between Vue instances.
See: https://vuejs.org/v2/guide/state-management.html https://vuejs.org/v2/guide/state-management.html