您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

vue.config.js 414 B

3 年前
123456789101112131415
  1. module.exports = {
  2. devServer: {
  3. port: 9999,
  4. proxy: 'http://10.209.96.72:8080'
  5. },
  6. chainWebpack(config) {
  7. config
  8. .when(process.env.NODE_ENV === 'production', config => {
  9. config
  10. .output
  11. .publicPath(process.env.NODE_ENV === 'production' ? '/wechatOrder/' : '/')
  12. .end();
  13. });
  14. }
  15. };