server/assets/js/react/main.tsx

7 lines
168 B
TypeScript

import * as React from "react"
import ReactDOM from "react-dom/client"
import App from "./App"
ReactDOM.createRoot(document.getElementById("mount")!).render(<App />)