index.js 177B

1234567891011
  1. import Vue from 'vue'
  2. import Vuex from 'vuex'
  3. import data from './modules/data.js'
  4. Vue.use(Vuex)
  5. export default new Vuex.Store({ // export
  6. modules: {
  7. data
  8. }
  9. })