mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-22 07:03:53 +08:00
fix: vue.config.js
修复publicPath空串问题、默认是"/"
This commit is contained in:
@@ -52,7 +52,7 @@ module.exports = defineConfig({
|
||||
overlay: false, // 不显示 webpack 错误覆盖层
|
||||
},
|
||||
},
|
||||
publicPath: process.env.VUE_APP_PUBLIC_PATH || "",
|
||||
publicPath: process.env.VUE_APP_PUBLIC_PATH || "/",
|
||||
chainWebpack: config => {
|
||||
|
||||
// 修改 HTML 插件配置,动态插入 CDN 链接
|
||||
|
||||
Reference in New Issue
Block a user