Use Vuex 4 with Vue 2.7

1k Views Asked by At

Is there an easy way to use Vuex 4 with Vue 2.7? In the docs for Vuex 4 it says you have to use(store) on an app instance created through createApp, but this function is not backported from Vue 3 to Vue 2.7. I am fine with hacky solutions, since I will be using this only temporarily while I "upgrade" to Pinia

0

There are 0 best solutions below