import Vue from "vue"
import Vuex from" vuex"
import * as actions from". / actions"
import * as getters from". / getters"
import * as mutations from". / mutations"
Vue.use (Vuex)
const state = {
houseName:""
}
const store = new Vuex.Store ({
state,
actions,
getters,
mutations
})
export default store
[vuex] unknown getter: houseName
this is the unknown getter: houseName code in my store file. After Baidu, people always say that it is import * as getters from". / getters" is not finished here, but I have already finished it. I still report this error on the console
.