mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 08:12:49 +08:00
fix: 解决打包之后无法加载页面的问题
This commit is contained in:
parent
db815661e8
commit
3cf01f0c51
@ -11,7 +11,7 @@ function pathResolve(dir: string) {
|
||||
}
|
||||
|
||||
export default ({ mode }) => defineConfig({
|
||||
base: process.env.NODE_ENV === 'production' ? '/' : '/',
|
||||
base: process.env.NODE_ENV === 'production' ? './' : '/',
|
||||
// 路径重定向
|
||||
resolve: {
|
||||
alias: [
|
||||
|
Loading…
Reference in New Issue
Block a user