This is also my SvelteKit Christmas wish 2026 <3
Can I mount an entire branch of routes, possibly provided by a package, into my app?
0 reposts12 likes
This is also my SvelteKit Christmas wish 2026 <3
Can I mount an entire branch of routes, possibly provided by a package, into my app?
0 reposts12 likes
Oh yes @hmans.dev, in one project I’m using the init hook to fetch a set of ids from a DB which then become routes, using [routeId=Id]/+page.svelte together with a params matcher svelte.dev/docs/kit/adv... How to inject the routes‘ content is another question tho, but some mount() util might work.
Enrico kindly pointed me to an existing issue on GitHub github.com/sveltejs/kit...