Created
October 15, 2018 23:47
-
-
Save JamieCurnow/7659a1238de46a8f7384a5471dac9d79 to your computer and use it in GitHub Desktop.
This file contains 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
import Vue from 'nativescript-vue' | |
import Vuex from 'vuex' | |
import sideDrawer from './modules/sideDrawer' | |
Vue.use(Vuex) | |
let debug = process.env.NODE_ENV !== 'production' | |
let store = new Vuex.Store({ | |
modules: { | |
sideDrawer | |
}, | |
strict: debug | |
}) | |
Vue.prototype.$store = store | |
export default store |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment