Skip to content

Commit 01fef17

Browse files
authored
chore: history router (#210)
1 parent 8f73e5f commit 01fef17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/router/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const defaultRouterList = [
2323

2424
const createRouter = () =>
2525
new VueRouter({
26+
mode: 'history',
2627
routes: defaultRouterList,
2728
scrollBehavior() {
2829
return { x: 0, y: 0 };

0 commit comments

Comments
 (0)