Revert "Feat vue router mode changed to history"

This commit is contained in:
2020-10-11 18:46:20 +02:00
committed by GitHub
parent 61fad22ef4
commit 685db1f8f5
5 changed files with 11 additions and 31 deletions

View File

@@ -1,6 +1,6 @@
import Vue from "vue";
import VueRouter from "vue-router";
import VinlottisRouter from "@/router.js";
import { routes } from "@/router.js";
import Vinlottis from "@/Vinlottis";
import VueAnalytics from "vue-analytics";
@@ -9,9 +9,13 @@ Vue.use(VueAnalytics, {
id: "UA-156846886-1"
});
const router = new VueRouter({
routes: routes
});
new Vue({
el: "#app",
router: VinlottisRouter,
router,
components: { Vinlottis },
template: "<Vinlottis/>",
render: h => h(Vinlottis)