feat: bootstrap foundation application
This commit is contained in:
11
apps/web/src/main.tsx
Normal file
11
apps/web/src/main.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { render } from "preact";
|
||||
import { LocationProvider, Route, Router } from "preact-iso";
|
||||
import { App } from "./app";
|
||||
import "./styles.css";
|
||||
|
||||
render(
|
||||
<LocationProvider>
|
||||
<Router>{[<Route path="/*" component={App} />]}</Router>
|
||||
</LocationProvider>,
|
||||
document.getElementById("app")!,
|
||||
);
|
||||
Reference in New Issue
Block a user