[Vuejs]-Why "Vue is not defined" when using Vue 3 + Vuex 4?

-2👍

In your entry point, that you import Vuex. Add this:

import Vue from "vue"
import Vuex from "vuex"
Vue.use(Vuex)

Remember install dependences

Leave a comment