修改前端项目端口

This commit is contained in:
flykhan 2023-03-13 00:44:34 +08:00
parent cc95f82b7f
commit 479883bc3e
1 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,7 @@
const { defineConfig } = require('@vue/cli-service') const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({ module.exports = defineConfig({
transpileDependencies: true transpileDependencies: true,
}) devServer: {
port: 80, // 启动端口号
},
});