diff --git a/src/index.ts b/src/index.ts index 9293cc8..5468512 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,10 +1,10 @@ import { createApp } from 'vue' -import { createRouter, createWebHistory } from 'vue-router' +import { createRouter, createWebHashHistory } from 'vue-router' import App from './components/App.vue' import routes from './components/routes/routes.ts' -const history = createWebHistory() +const history = createWebHashHistory() const router = createRouter({ history, routes }) router.afterEach((to, from) => { document.title = to.meta.title })