- Router: client side route handling with client side rendering - Toast: rought Toast handling for better UX and messaging - Auth: single point of truth for the Logged in user This commit doesnt not include the openapi generated code
12 lines
237 B
TypeScript
12 lines
237 B
TypeScript
import { addRoute, setTitle } from "@app/routing";
|
|
import page from './about.html?raw'
|
|
|
|
|
|
async function route(_url: string, _args: { [k: string]: string }): Promise<string> {
|
|
setTitle('About us')
|
|
return page;
|
|
}
|
|
|
|
|
|
|
|
addRoute('/', route)
|