Skip to content

Instantly share code, notes, and snippets.

@championswimmer
Created July 14, 2018 00:06
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 championswimmer/827b53a2a5ac151331e9e5efd2bc3189 to your computer and use it in GitHub Desktop.
Save championswimmer/827b53a2a5ac151331e9e5efd2bc3189 to your computer and use it in GitHub Desktop.
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