打包base路径

This commit is contained in:
xiangheng
2024-10-25 19:36:15 +08:00
parent e7ddac1307
commit 04abdf9a05

View File

@@ -23,7 +23,7 @@ export default ({ mode }) => {
// 依赖预构建,避免开发刷新
include: ['@wangeditor/editor-for-vue', 'vuedraggable', 'vue-echarts', 'crypto-js']
},
base: './',
base: '/',
build: {
sourcemap: true,
rollupOptions: {