web-backset.cn/apps/admin/src/main.tsx

10 lines
241 B
TypeScript

import ReactDOM from "react-dom/client";
import App from "./App";
import { BrowserRouter as Router } from "react-router-dom";
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
<Router>
<App />
</Router>
);