Initial commit

This commit is contained in:
lofyer
2026-08-24 17:27:41 +08:00
commit 5ff80caf7e
45 changed files with 11485 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
export default defineConfig({
root: 'src/admin',
base: '/admin/',
plugins: [react()],
build: {
outDir: '../../dist/admin',
emptyOutDir: true,
sourcemap: false
},
server: {
port: 5174,
proxy: {
'/api': 'http://127.0.0.1:3000'
}
}
})