Sveltekit - Get All Routes/Pages

Опубликовано: 23 Май 2026
на канале: WebJeda
5,335
80

In this video I will be discussing how to get all the routes or all the page in our Sveltekit app.

I'm not claiming this as the best way to do it but it is one of the ways. If you have a better way of doing this then please leave a comment

Repo: https://github.com/sharu725/sveltekit...

00:00 Introduction
01:18 Create some Sveltekit pages/routes
02:10 Import all the svelte files
03:26 Populate all the links
08:49 Create a load function
09:32 Create a menu list of all Sveltekit pages