diff --git a/vue.config.js b/vue.config.js index f1d9948..402c752 100644 --- a/vue.config.js +++ b/vue.config.js @@ -4,6 +4,12 @@ */ module.exports = { + // 输出目录 + outputDir: 'dist/build/h5', + + // 静态资源目录 + assetsDir: 'static', + devServer: { proxy: { // 代理所有 /api 开头的请求