Use router history mode

This commit is contained in:
Oliver Traber 2021-11-15 19:45:49 +01:00
parent bb4da8bbb4
commit 5876d29689
Signed by: Bluemedia
GPG key ID: C7BA47275B086E2C

View file

@ -1,6 +1,5 @@
import { createRouter, createWebHashHistory } from "vue-router";
import { createRouter, createWebHistory } from "vue-router";
import Home from "../views/Home.vue";
import Watch from "../views/Watch.vue";
const routes = [
{
@ -11,12 +10,12 @@ const routes = [
{
path: "/watch",
name: "watch",
component: Watch,
component: import("@/views/Watch"),
},
];
const router = createRouter({
history: createWebHashHistory(),
history: createWebHistory(),
routes,
});