feat: Add base project structure with API and web components
This commit is contained in:
11
web/src/main.tsx
Normal file
11
web/src/main.tsx
Normal 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 />
|
||||
)
|
||||
Reference in New Issue
Block a user