1 2 3 4 5 6 7
import App from "./components/app.js"; export default App; import { render, h } from "preact"; const app = document.getElementById("app"); render(<App />, app as any);