chore: GUI 增加路由。

This commit is contained in:
2023-04-15 18:58:40 +08:00
parent 782f3bf029
commit 932cc78bcf
13 changed files with 167 additions and 117 deletions

View File

@ -3,5 +3,13 @@ import { render } from "solid-js/web";
import "./styles.css";
import App from "./App";
import { Router } from '@solidjs/router';
render(() => <App />, document.getElementById("root") as HTMLElement);
render(
() => (
<Router>
<App />
</Router>
),
document.getElementById('root') as HTMLElement,
);