scaffold react dashboard

This commit is contained in:
2025-04-12 11:16:46 +00:00
parent c8b31bedda
commit a6ced69393
14 changed files with 4635 additions and 0 deletions

15
dashboard/vite.config.ts Normal file
View File

@@ -0,0 +1,15 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [react(), tailwindcss()],
server: {
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
},
},
},
})