materio-d9/web/themes/custom/materiotheme/vuejs/store/index.js

15 lines
272 B
JavaScript
Raw Normal View History

import Vue from 'vue'
import Vuex from 'vuex'
import User from './modules/user'
2019-06-01 16:15:08 +02:00
import Search from './modules/search'
// https://github.com/vuejs/vuex/tree/dev/examples/shopping-cart
Vue.use(Vuex)
export default new Vuex.Store({
modules: {
2019-06-01 16:15:08 +02:00
User,
Search
}
})