diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-12 11:37:07 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-12 11:37:07 +0200 |
commit | 64c80504b5d14a179508bd764e107741a80e8be6 (patch) | |
tree | 38bd3310d20656cf5acded01a24f32e4f42bed2a /src/main.js | |
parent | a76e153bf1390237ab75969f40df3abfe6da0a75 (diff) | |
download | puszcza-64c80504b5d14a179508bd764e107741a80e8be6.tar.gz puszcza-64c80504b5d14a179508bd764e107741a80e8be6.zip |
Add router
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 14 |
1 files changed, 10 insertions, 4 deletions
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"); |