import Vue from 'vue' import Vuex from 'vuex' import app from "@/store/modules/app"; import HTTP_REQUEST_URL from "@/config/prod"; Vue.use(Vuex); export default new Vuex.Store({ modules: { app, HTTP_REQUEST_URL }, getters: { isLogin: state => state.app.isLogin, userInfo: state => state.app.userInfo, rootFontSize: state => state.app.rootFontSize, token: state => state.app.token, position: state => state.app.position, } })