This commit is contained in:
rex
2026-03-20 13:17:20 +08:00
parent 583d34e1f7
commit 2d83fccd0e
24 changed files with 2774 additions and 0 deletions

17
vite.config.ts Normal file
View File

@@ -0,0 +1,17 @@
import tailwindcss from '@tailwindcss/vite';
import react from '@vitejs/plugin-react';
import path from 'path';
import { defineConfig } from 'vite';
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), tailwindcss()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
server: {
cors: true,
},
});