完善uniapp
This commit is contained in:
@@ -50,7 +50,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
||||
// 开发服务器配置
|
||||
server: {
|
||||
host: '0.0.0.0', // 监听所有地址
|
||||
port: 3000, // 默认端口
|
||||
port: 4002, // 默认端口
|
||||
open: true, // 自动打开浏览器
|
||||
cors: true, // 启用 CORS
|
||||
strictPort: false, // 端口被占用时尝试其他端口
|
||||
|
||||
Reference in New Issue
Block a user