import { createStore } from 'vuex';
import app from './modules/app';
import user from './modules/user';

export default createStore({
  modules: {
    app,
    user,
  },
  // 启用严格模式,非mutation改变值都会报错
  strict: true,
});
