Skip to content

Commit 303167d

Browse files
committed
chore:更新路由配置,修改 createWebHistory 的基础路径为 '/tiny-vue-template/'
1 parent d858fe6 commit 303167d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tiny-vue-mobile-first/src/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ const routes = [
1313
]
1414

1515
export const router = createRouter({
16-
history: createWebHistory(),
16+
history: createWebHistory('/tiny-vue-template/'),
1717
routes
1818
})

0 commit comments

Comments
 (0)