Tidied Vite react-ts template
This commit is contained in:
12
web/src/vite-root.tsx
Normal file
12
web/src/vite-root.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
/* React-related */
|
||||
import { StrictMode } from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
|
||||
/* Route-related */
|
||||
import Root from "./routes/Root";
|
||||
|
||||
createRoot(document.getElementById("root")!).render(
|
||||
<StrictMode>
|
||||
<Root />
|
||||
</StrictMode>,
|
||||
);
|
||||
Reference in New Issue
Block a user