issue/fetch #21
@ -12,7 +12,6 @@ export default ()=>
|
|||||||
<nav class="p-4">
|
<nav class="p-4">
|
||||||
<a class="text-red-500" href="/">Home</a>
|
<a class="text-red-500" href="/">Home</a>
|
||||||
<a href="/about">About</a>
|
<a href="/about">About</a>
|
||||||
<a href="/lol">lol????</a>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<h1 class="my-2 font(bold serif) text(3xl)">Title!!</h1>
|
<h1 class="my-2 font(bold serif) text(3xl)">Title!!</h1>
|
||||||
|
@ -270,7 +270,8 @@ FileListen("${url.pathname}", reloadHandler);`;
|
|||||||
import {Router, Fetch} from "@eno/iso";
|
import {Router, Fetch} from "@eno/iso";
|
||||||
Twind.install(CSS);
|
Twind.install(CSS);
|
||||||
Fetch.Seed(${JSON.stringify(seed)});
|
Fetch.Seed(${JSON.stringify(seed)});
|
||||||
hydrate( H(Router.Provider, null, H(App)), document.querySelector("#app"));
|
const hmrWrap = H( ()=>H(App) );
|
||||||
|
hydrate( H(Router.Provider, null, hmrWrap), document.querySelector("#app"));
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>`;
|
</html>`;
|
||||||
|
Loading…
Reference in New Issue
Block a user