南铁院本地打包
This commit is contained in:
parent
3c8fa57b09
commit
3455d2fe86
@ -15,8 +15,8 @@ const port = 9527; // dev port
|
||||
let publicPath = '';
|
||||
let outputDir = '';
|
||||
(function () {
|
||||
publicPath = process.env.VUE_APP_PRO == 'local' ? '/' : '/cbtc';
|
||||
outputDir = process.env.VUE_APP_PRO == 'local' ? 'dist' : 'dist/cbtc';
|
||||
publicPath = process.env.VUE_APP_PRO == 'local' || process.env.VUE_APP_PRO == 'ntyl' ? '/' : '/cbtc';
|
||||
outputDir = process.env.VUE_APP_PRO == 'local' || process.env.VUE_APP_PRO == 'ntyl' ? 'dist' : 'dist/cbtc';
|
||||
})();
|
||||
|
||||
// All configuration item explanations can be find in https://cli.vuejs.org/config/
|
||||
|
Loading…
Reference in New Issue
Block a user