Подключаем работу с Vuex

This commit is contained in:
Book Pauk
2019-01-01 21:41:26 +07:00
parent 771cf32ed8
commit 22dab347ea
5 changed files with 75 additions and 18 deletions

View File

@@ -2,11 +2,13 @@ import Vue from 'vue';
import App from './components/App.vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import store from './store';
//Vue.config.productionTip = false;
Vue.use(ElementUI);
new Vue({
store,
render: h => h(App),
}).$mount('#app');