The router for ReverUI
$ npm i reverouter
// main.ts
import { $UI } from "reverui";
import { $lazy, $Router } from "reverouter";
$Router($UI ,{
"/": () => import("./Banner"), // Normal Route
"/todo": $lazy(() => import("./Todo")), // Lazy Route
"/counter": $lazy(() => import("./Counter")), // Lazy Route
"/counter-with-hook": $lazy(() => import("./CounterWithHook")), // Lazy Route
});