Skip to content

Instantly share code, notes, and snippets.

@JamieCurnow
Created October 15, 2018 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JamieCurnow/7659a1238de46a8f7384a5471dac9d79 to your computer and use it in GitHub Desktop.
Save JamieCurnow/7659a1238de46a8f7384a5471dac9d79 to your computer and use it in GitHub Desktop.
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