From 73a81ef99383a286854fb117e28ce958d2f3261a Mon Sep 17 00:00:00 2001 From: BoBoooooo <17746714@qq.com> Date: Sat, 30 Mar 2019 23:49:22 +0800 Subject: [PATCH] [feature]{vue.config.js}: baseUrl to publicPath --- vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 7bf22fe..eff3dae 100644 --- a/vue.config.js +++ b/vue.config.js @@ -19,7 +19,7 @@ module.exports = { // 指定子路径。比如,如果你的应用部署在 // https://www.foobar.com/my-app/ // 那么将这个值改为 `/my-app/` - baseUrl: './', + publicPath: './', // 将构建好的文件输出到哪里 outputDir: 'dist',