sunyanqiang 3 năm trước cách đây
mục cha
commit
98767247aa
1 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 6 6
      vue.config.js

+ 6 - 6
vue.config.js

@@ -1,15 +1,15 @@
 
 'use strict'
 const path = require('path')
- 
+
 function resolve(dir) {
   return path.join(__dirname, dir)
 }
- 
+
 const name = process.env.VUE_APP_TITLE || '智能督察管理平台' // 网页标题
- 
+
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
- 
+
 // vue.config.js 配置说明
 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
 // 这里只列一部分,具体配置参考文档
@@ -55,7 +55,7 @@ module.exports = {
   chainWebpack(config) {
     config.plugins.delete('preload') // TODO: need test
     config.plugins.delete('prefetch') // TODO: need test
- 
+
     // set svg-sprite-loader
     config.module
       .rule('svg')
@@ -72,7 +72,7 @@ module.exports = {
         symbolId: 'icon-[name]'
       })
       .end()
- 
+
     config
       .when(process.env.NODE_ENV !== 'development',
         config => {