feat: 初始化前端项目
- React 18 + Vite项目 - Mantine UI组件库 - Tailwind CSS配置 - Zustand状态管理 - 路由配置 Co-Authored-By: Claude (MiniMax-M2.1) <noreply@anthropic.com>
This commit is contained in:
parent
8801591132
commit
d3de5d8598
2
.env
Normal file
2
.env
Normal file
@ -0,0 +1,2 @@
|
||||
# API Configuration
|
||||
VITE_API_URL=http://localhost:3000/api
|
||||
@ -1,6 +1,2 @@
|
||||
# Supabase Configuration
|
||||
VITE_SUPABASE_URL=your_supabase_project_url
|
||||
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
|
||||
|
||||
# DeepSeek AI API (for backend)
|
||||
DEEPSEEK_API_KEY=your_deepseek_api_key
|
||||
# API Configuration
|
||||
VITE_API_URL=http://localhost:3000/api
|
||||
|
||||
4115
package-lock.json
generated
Normal file
4115
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
@ -10,8 +10,21 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mantine/core": "^8.3.13",
|
||||
"@mantine/dates": "^8.3.13",
|
||||
"@mantine/hooks": "^8.3.13",
|
||||
"@mantine/notifications": "^8.3.13",
|
||||
"@supabase/supabase-js": "^2.93.2",
|
||||
"@tabler/icons-react": "^3.36.1",
|
||||
"date-fns": "^4.1.0",
|
||||
"lunar-javascript": "^1.7.7",
|
||||
"postcss": "^8.5.6",
|
||||
"postcss-preset-mantine": "^1.18.0",
|
||||
"postcss-simple-vars": "^7.0.1",
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0"
|
||||
"react-dom": "^19.2.0",
|
||||
"react-router-dom": "^7.13.0",
|
||||
"zustand": "^5.0.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.39.1",
|
||||
|
||||
@ -4,4 +4,8 @@ import react from '@vitejs/plugin-react'
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
emptyOutDir: true,
|
||||
},
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user