Browse Source

修复 打包失败的问题

feat
JinxChen 2 years ago
parent
commit
022e7536ec
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      vue.config.js

+ 2
- 2
vue.config.js View File

@@ -1,7 +1,7 @@
/* /*
* @Author: your name * @Author: your name
* @Date: 2020-04-15 10:00:32 * @Date: 2020-04-15 10:00:32
* @LastEditTime: 2022-05-11 14:42:10 * @LastEditTime: 2022-05-11 14:44:56
* @LastEditors: JinxChen * @LastEditors: JinxChen
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \AntpayFrontEnd\vue.config.js * @FilePath: \AntpayFrontEnd\vue.config.js
@@ -10,7 +10,7 @@ const port = process.env.port || process.env.npm_config_port || 8080;/* 7788 */


module.exports = { module.exports = {
// 注意: 多页面配置 不再使用全路径,单页面时可以开启 // 注意: 多页面配置 不再使用全路径,单页面时可以开启
/* publicPath: './', */ publicPath: './',
outputDir: 'dist', outputDir: 'dist',
// assetsDir: 'static', // assetsDir: 'static',
// lintOnSave: process.env.NODE_ENV === 'development', // lintOnSave: process.env.NODE_ENV === 'development',


Loading…
Cancel
Save