feature_0521
郑皇 5 years ago
parent f7aecb9ce7
commit 0ab23a4a07

@ -6,7 +6,7 @@ module.exports = {
// publicPath: process.env.NODE_ENV === 'production' ? '/public/' : './', // publicPath: process.env.NODE_ENV === 'production' ? '/public/' : './',
/* history模式 */ /* history模式 */
publicPath: process.env.NODE_ENV === "production" ? "/dist/" : "/", publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
/* 输出文件目录在npm run build时生成文件的目录名称 */ /* 输出文件目录在npm run build时生成文件的目录名称 */
outputDir: "dist", outputDir: "dist",
/* 放置生成的静态资源 (js、css、img、fonts) 的 (相对于 outputDir 的) 目录 */ /* 放置生成的静态资源 (js、css、img、fonts) 的 (相对于 outputDir 的) 目录 */
@ -30,7 +30,7 @@ module.exports = {
/* 使用代理 后台接口路径 */ /* 使用代理 后台接口路径 */
// proxy: 'http://192.168.1.123:8312/' // proxy: 'http://192.168.1.123:8312/'
// proxy: 'http://192.168.31.177:8312/' // proxy: 'http://192.168.31.177:8312/'
proxy: 'http://111.231.218.44:8080/', proxy: "http://111.231.218.44:8080/",
// proxy: 'http://jdxdev.vipgz4.idcfengye.com/' // proxy: 'http://jdxdev.vipgz4.idcfengye.com/'
}, },
}; };

Loading…
Cancel
Save