init project

This commit is contained in:
JiaJun
2026-03-18 11:42:00 +08:00
commit 2db8d180ad
29 changed files with 3457 additions and 0 deletions

19
vite.config.ts Normal file
View File

@@ -0,0 +1,19 @@
import { defineConfig } from 'vite'
import react, { reactCompilerPreset } from '@vitejs/plugin-react'
import babel from '@rolldown/plugin-babel'
import tailwindcss from '@tailwindcss/vite'
import { fileURLToPath, URL } from 'node:url'
// https://vite.dev/config/
export default defineConfig({
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
plugins: [
tailwindcss(),
react(),
babel({ presets: [reactCompilerPreset()] })
],
})