add day 98
This commit is contained in:
12
day98/src/entry-client.ts
Normal file
12
day98/src/entry-client.ts
Normal 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();
|
||||
};
|
||||
Reference in New Issue
Block a user