生产环境配置
This commit is contained in:
@@ -24,7 +24,7 @@ module.exports = {
|
||||
*在大多数情况下,请使用“/”!!!
|
||||
*详细信息:https://cli.vuejs.org/config/#publicpath
|
||||
*/
|
||||
publicPath: '/', //process.env.NODE_ENV === 'production' ? '/gf/' : '/',
|
||||
publicPath: process.env.NODE_ENV === 'production' ? '/lpk/' : '/',
|
||||
outputDir: 'yyth-ui',
|
||||
assetsDir: 'static',
|
||||
lintOnSave: process.env.NODE_ENV === 'development',
|
||||
|
||||
Reference in New Issue
Block a user