index.js 168 B

123456789101112
  1. import Vue from 'vue'
  2. import Vuex from 'vuex'
  3. import user from './modules/user'
  4. Vue.use(Vuex)
  5. export default new Vuex.Store({
  6. modules: {
  7. user
  8. },
  9. strict: true
  10. })