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

10 lines
243 B
TypeScript
Raw Normal View History

2023-02-27 11:23:36 +08:00
import ReactDOM from "react-dom/client";
import App from "./App";
import { BrowserRouter as Router } from "react-router-dom";
ReactDOM.createRoot(document.getElementById("bs-app") as HTMLElement).render(
<Router>
<App />
</Router>
);