修复MIME类型错误:静态资源404直接返回 + 支持自定义base路径

This commit is contained in:
2026-05-13 11:08:18 +08:00
parent fd7557539f
commit c453d3425d
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -4,4 +4,5 @@ import vue from '@vitejs/plugin-vue'
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
base: process.env.VITE_BASE_URL || '/',
})