三期pk功能开发以及积分两个页
This commit is contained in:
+12
-6
@@ -1,8 +1,14 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import {
|
||||
defineConfig
|
||||
} from 'vite'
|
||||
import uni from '@dcloudio/vite-plugin-uni'
|
||||
// https://vitejs.dev/config/
|
||||
import path from 'path'
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
uni(),
|
||||
],
|
||||
})
|
||||
plugins: [uni()],
|
||||
// 新增服务器配置,指定启动端口
|
||||
server: {
|
||||
port: 5174,
|
||||
strictPort: true, // 可选:端口被占用时直接报错(避免自动切换端口)
|
||||
open: false // 可选:启动后自动打开浏览器(按需开启)
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user