feat: 初始化 Novault 后台管理前端项目,包含基础结构、UI 组件、API 请求和路由配置。
This commit is contained in:
16
vite.config.ts
Normal file
16
vite.config.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
port: 2614,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'https://bk.swalktech.top',
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user