index.js 405 B

1234567891011121314151617181920212223
  1. import Vue from "vue-native-core";
  2. import Vuex from "vuex";
  3. import * as actions from "./actions";
  4. import * as mutations from "./mutations";
  5. Vue.use(Vuex);
  6. const store = new Vuex.Store({
  7. actions,
  8. mutations,
  9. state: {
  10. userObj: Object,
  11. userGroup: String,
  12. lessons: [],
  13. calls: [],
  14. logging_in: false,
  15. loading: false
  16. }
  17. });
  18. export default store;