Files
litek/src/main.tsx
typist 818a108282 feat: integrate react-router-dom for routing functionality
- Added react-router-dom to package.json and pnpm-lock.yaml.
- Created a new Layout component to manage sidebar and main content.
- Implemented AppRouter for defining application routes and redirection logic.
2025-10-27 23:37:42 +08:00

11 lines
244 B
TypeScript

import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import { AppRouter } from './router'
createRoot(document.getElementById('root')!).render(
<StrictMode>
<AppRouter />
</StrictMode>
)