index.js 246 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 import { createStore } from "vuex"; export default createStore({ state: { LOADING: false, }, mutations: { showLoading(state) { state.LOADING = true; }, hideLoading(state) { state.LOADING = false; }, }, });