feat: Add base project structure with API and web components

This commit is contained in:
Ke Sun
2025-12-02 20:28:01 +08:00
parent f3de6d6cc9
commit c1adc62ec6
817 changed files with 111226 additions and 106 deletions

11
web/src/main.tsx Normal file
View File

@@ -0,0 +1,11 @@
import { createRoot } from 'react-dom/client'
import '@/styles/index.css'
import App from '@/App.tsx'
// 同步导入i18n配置以确保在组件渲染前初始化完成
import './i18n'
createRoot(document.getElementById('root')!)
.render(
<App />
)