We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 35b5085 + 95f6940 commit 3ec94e9Copy full SHA for 3ec94e9
src/router/index.ts
@@ -30,7 +30,7 @@ const routes = [
30
31
// 创建路由实例并传递 `routes` 配置
32
const router = createRouter({
33
- history: createWebHistory(),
+ history: createWebHistory(process.env.VUE_APP_PUBLIC_PATH),
34
routes,
35
scrollBehavior() {
36
// 始终滚动到顶部
0 commit comments