不知名提交
This commit is contained in:
12
mengyanote-frontend/vite.config.js
Normal file
12
mengyanote-frontend/vite.config.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
|
||||
server: {
|
||||
host: '0.0.0.0', // 监听所有网络接口(包括局域网)
|
||||
port: 5173, // 端口号(可选,默认5173)
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user