mirror of
https://github.com/opsre/LiteOps.git
synced 2026-07-28 07:30:23 +08:00
前端开源初始化提交
This commit is contained in:
16
web/vite.config.js
Normal file
16
web/vite.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
server: {
|
||||
port: 8000,
|
||||
host: true,
|
||||
strictPort: true,
|
||||
cors: true,
|
||||
allowedHosts: [
|
||||
'0.0.0.0',
|
||||
]
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user