Добавлен vue-router

This commit is contained in:
Book Pauk
2019-01-02 16:50:11 +07:00
parent eef928eb8c
commit 3af5a38072
3 changed files with 23 additions and 6 deletions

View File

@@ -1,15 +1,19 @@
import Vue from 'vue';
import App from './components/App.vue';
import router from './router';
import store from './store';
import ElementUI from 'element-ui';
import './theme/index.css';
import locale from 'element-ui/lib/locale/lang/ru-RU';
import store from './store';
//Vue.config.productionTip = false;
Vue.use(ElementUI, { locale });
new Vue({
router,
store,
render: h => h(App),
}).$mount('#app');