Перейти к содержимому

SvelteKit | [slug]

Consulting Ninja

0:00 / 0:00

SvelteKit | [slug]

2 678 просмотров · 3 года назад
Consulting Ninja
2,9 тыс. подписчиков
2 678 просмотров · 3 года назад
This is a short video giving a clear example of how to setup dynamic routing in SvelteKit. I show the folder structure for setting up dynamic routes, how to access the params in your load function to return the slug ( you can also use it to hit an endpoint for more data fyi). I also show how to setup your links for dynamic routes. I hope you find this helpful! My channel membership is live check it out here!:    / @consultingninja   Membership perk video:    • I launched a chatbot with my channel membe...   Need help? visit https://www.consultingninja.tech Check out my channel ‪@ConsultingNinja‬ for more videos like these. SvelteKit Form Action Docs: https://kit.svelte.dev/docs/form-actions SvelteKit API route creation video:    • SvelteKit | #api   First Look at SvelteKit video:    • SvelteKit | First Look   Load data video one:    • SvelteKit | Load   Load data more details:    • SvelteKit | Load details   SvelteKit Sandbox: https://learn.svelte.dev/tutorial/wel... SvelteKit Docs: https://kit.svelte.dev/