feat: Tauri + React + Vite + TypeScript 前端脚手架

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-31 00:14:31 +08:00
parent 820f35f444
commit a17fba8ff5
18 changed files with 2811 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
clearScreen: false,
server: {
port: 1420,
strictPort: true,
},
})