mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-01-21 15:14:19 +01:00
24 lines
546 B
TypeScript
24 lines
546 B
TypeScript
/* @refresh reload */
|
|
import { render } from "solid-js/web";
|
|
|
|
import "./root.css";
|
|
|
|
import { MetaProvider } from "@solidjs/meta";
|
|
import { Router } from "@solidjs/router";
|
|
|
|
import App from "./App";
|
|
|
|
const root = document.getElementById("root");
|
|
|
|
render(
|
|
() => (
|
|
<Router>
|
|
{/* important that there's only one of these. hardcoded meta elements in index.html can be decorated with data-sm to be mutatable */}
|
|
<MetaProvider>
|
|
<App />
|
|
</MetaProvider>
|
|
</Router>
|
|
),
|
|
root!
|
|
);
|