Skip to content

Instantly share code, notes, and snippets.

@uno-de-piera
Created May 26, 2018
Embed
What would you like to do?
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