about summary refs log tree commit diff
path: root/src/main.js
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-12 11:37:07 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-12 11:37:07 +0200
commit64c80504b5d14a179508bd764e107741a80e8be6 (patch)
tree38bd3310d20656cf5acded01a24f32e4f42bed2a /src/main.js
parenta76e153bf1390237ab75969f40df3abfe6da0a75 (diff)
downloadpuszcza-64c80504b5d14a179508bd764e107741a80e8be6.tar.gz
puszcza-64c80504b5d14a179508bd764e107741a80e8be6.zip
Add router
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js14
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");