Adding new template with automatique routing

This commit is contained in:
Alexandre
2021-02-22 13:40:00 +01:00
parent 97a4535c81
commit 9648bb5230
14 changed files with 961 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import "windi.css";
import { render } from "solid-js/web";
import { Router } from "solid-app-router";
import { routes } from "./routes";
import App from "./app";
render(
() => (
<Router routes={routes}>
<App />
</Router>
),
document.getElementById("root")
);