add day 9

This commit is contained in:
Zoe
2022-12-22 21:06:28 -06:00
parent 7d4afb94b0
commit 173e834dc3
50 changed files with 12392 additions and 0 deletions

12
day91/src/entry-client.ts Normal file
View File

@@ -0,0 +1,12 @@
import { renderPage } from './lib/router/pageRenderer';
await import('./style.css');
await renderPage();
window.onpopstate = async e => {
if (e.state === null) {
return;
}
await renderPage();
};