Feat vue router mode changed to history #45

Merged
KevinMidboe merged 4 commits from feat/history-router into master 2020-10-11 16:20:29 +00:00
Showing only changes of commit 2062f64999 - Show all commits

View File

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