tutu/src/index.tsx

11 lines
301 B
TypeScript
Raw Normal View History

2024-08-05 07:33:00 +00:00
import { render } from "solid-js/web";
import App from "./App.js";
2024-11-13 11:27:35 +00:00
import "solid-devtools";
2024-07-14 12:28:44 +00:00
2024-08-05 07:33:00 +00:00
render(() => <App />, document.getElementById("root")!);
2024-11-13 11:27:35 +00:00
if (import.meta.env.VITE_DEVTOOLS_OVERLAY === "true") {
const overlay = await import("@solid-devtools/overlay")
overlay.attachDevtoolsOverlay()
}