Skip to content

Instantly share code, notes, and snippets.

@uno-de-piera
Created May 26, 2018 12:42
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 uno-de-piera/4d2d6095f53b630c2d70cc2e6e7dd997 to your computer and use it in GitHub Desktop.
Save uno-de-piera/4d2d6095f53b630c2d70cc2e6e7dd997 to your computer and use it in GitHub Desktop.
import Vuex from 'vuex';
Vue.use(Vuex);
import DateModule from './modules/date.module';
const store = new Vuex.Store({
modules: {
DateModule
}
});
new Vue({
router,
store, //aquí
render: h => h(App)
}).$mount('#app')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment