import Vuex from 'vuex'

export default new Vuex.Store({
  strict: true,
  plugins: [],
  modules: {},
  state: {},
  getters: {},
  mutations: {},
  actions: {}
})
import { mapState, mapGetters, mapActions, mapMutations } from 'vuex'

entry.js

import Vue from 'vue'
import Vuex from 'vuex'
import store from './store'

Vue.use(Vuex)

new Vue({
  el: '#app',
  store
})

Instance store