web: start: multiple pages
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
6e976ac6e3
commit
2e06cd85bc
18 changed files with 309 additions and 52 deletions
8
web/pages/dashboard/dashboard.js
Normal file
8
web/pages/dashboard/dashboard.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// Dashboard page — called by the router each time this route is activated.
|
||||
// Export init(main) to run logic after the HTML fragment is injected.
|
||||
//
|
||||
// `main` is the <main> DOM element containing the injected HTML.
|
||||
|
||||
export function init(main) {
|
||||
// Page is ready — add event listeners, fetch data, etc.
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue