pswui-docs/src/main.tsx

15 lines
313 B
TypeScript

import "./tailwind.css";
import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App.tsx";
const ROOT = document.getElementById("root");
if (!ROOT) throw new Error("root is not found");
ReactDOM.createRoot(ROOT).render(
<React.StrictMode>
<App />
</React.StrictMode>,
);