mirror of
https://github.com/Lapikud/lapikud.github.io.git
synced 2026-08-08 22:59:14 +00:00
custom router now working
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
// ADD PAGES HERE TO REGISTER ROUTES
|
||||
// examples: '/page', '/page/:id'
|
||||
|
||||
import Demo from './Demo.svelte'
|
||||
import Home from './Home.svelte'
|
||||
|
||||
export const routes = {
|
||||
'/': Home,
|
||||
'/demo': Demo,
|
||||
// '/page': Page,
|
||||
// '/page/:id': Page, // with optional param
|
||||
}
|
||||
Reference in New Issue
Block a user