vue2 端口

This commit is contained in:
xingyu 2022-08-02 16:33:06 +08:00
parent 4a92081937
commit 02224ad6b5
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ const CompressionPlugin = require('compression-webpack-plugin')
const name = process.env.VUE_APP_TITLE || '芋道管理系统' // 网页标题
const port = process.env.port || process.env.npm_config_port || 8081 // 端口
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