feat: add url prefix path
This commit is contained in:
+3
-1
@@ -18,5 +18,7 @@ export default defineConfig({
|
||||
ws: true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
// 支持通过环境变量设置 base URL(开发时测试用)
|
||||
base: process.env.VITE_BASE_URL || '/'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user