index.js 207 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 import { createStore } from 'vuex' export default createStore({ state: { userInfo: '' }, mutations: { setUserInfo (state, value) { state.userInfo = value } }, actions: { } })