Created
March 15, 2019 22:14
-
-
Save jordanhudgens/2fcbd08c4bd6fda13478a5ff9c3b783a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/store/index.js | |
import Vue from "vue"; | |
import Vuex from "vuex"; | |
import pages from "./modules/pages"; | |
import employees from "./modules/employees"; | |
import events from "./modules/events"; | |
import locations from "./modules/locations"; | |
import menus from "./modules/menus"; | |
import menusSections from "./modules/menu-section"; | |
import hours from "./modules/hours"; | |
import auth from "./modules/auth"; | |
import routes from "./modules/routes"; | |
import themes from "./modules/themes"; | |
import baseState from "./modules/base-state"; | |
Vue.use(Vuex); | |
export default new Vuex.Store({ | |
modules: { | |
pages, | |
employees, | |
events, | |
locations, | |
menus, | |
menusSections, | |
hours, | |
auth, | |
routes, | |
themes, | |
baseState | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment