2026-04-02 09:23:57 +08:00
|
|
|
import { StrictMode } from "react"
|
|
|
|
|
import { createRoot } from "react-dom/client"
|
|
|
|
|
import { RouterProvider } from "react-router-dom"
|
|
|
|
|
import "@/init"
|
|
|
|
|
import router from "@/router"
|
|
|
|
|
import "./index.css"
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Main application entry point.
|
2026-04-02 01:27:56 +00:00
|
|
|
* Sets up the React app with React Router.
|
2026-04-02 09:23:57 +08:00
|
|
|
*/
|
|
|
|
|
createRoot(document.getElementById("root")!).render(
|
|
|
|
|
<StrictMode>
|
2026-04-02 01:27:56 +00:00
|
|
|
<RouterProvider router={router} />
|
2026-04-02 09:23:57 +08:00
|
|
|
</StrictMode>,
|
|
|
|
|
)
|