-
-
Save championswimmer/827b53a2a5ac151331e9e5efd2bc3189 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, {Module} from 'vuex' | |
import counter from './modules/Counter2'; | |
import hgapi from './modules/HGAPIModule' | |
Vue.use(Vuex); | |
const store = new Vuex.Store({ | |
state: {}, | |
modules: { | |
counter, | |
hgapi | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment