Skip to content

Commit

Permalink
fix: do not use hash router
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe authored and fgt1t5y committed Dec 2, 2023
1 parent 06e9f84 commit 6662eed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/src/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createRouter, createWebHashHistory } from 'vue-router';
import { createRouter, createWebHistory } from 'vue-router';
import type { RouteRecordRaw } from 'vue-router';
import navs from '@/router/config/components.json';

Expand All @@ -19,7 +19,7 @@ const compModelRoute: RouteRecordRaw = {
};

const router = createRouter({
history: createWebHashHistory(import.meta.env.BASE_URL),
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
Expand Down

0 comments on commit 6662eed

Please sign in to comment.