From 64c80504b5d14a179508bd764e107741a80e8be6 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Mon, 12 Aug 2019 11:37:07 +0200 Subject: Add router --- src/main.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/main.js') diff --git a/src/main.js b/src/main.js index 63eb05f..aea7de4 100644 --- a/src/main.js +++ b/src/main.js @@ -1,8 +1,14 @@ -import Vue from 'vue' -import App from './App.vue' +import Vue from "vue"; +import VueRouter from "vue-router"; -Vue.config.productionTip = false +import { router } from "./router/index"; +import App from "./App.vue"; + +Vue.use(VueRouter); + +Vue.config.productionTip = false; new Vue({ render: h => h(App), -}).$mount('#app') + router +}).$mount("#app"); -- cgit 1.4.1