SvelteKit 1.0 Route Files Explained in 4 Minutes (SvelteKit 1.0 Routing Tutorial)

preview_player
Показать описание

SvelteKit 1.0 routing is an incredibly important part of why SvelteKit is so powerful. Within this routing system there are a bunch of different file names that help determine The 4 route types are +page, +error, +layout, and +server. This video serves as an overview to developers who are getting familiar with SvelteKit, and want to get a general idea as to what files are available to them when developing applications with SvelteKit.

Рекомендации по теме
Комментарии
Автор

Awesome. Can you please make a concise explanation video for the load / handle / action functions all in one with differences? It's generally hard to wrap your head around until you learn all of them. A video would be nice.

greendsnow
Автор

I really like Sveltekit folder structure, it makes sense and make life so much easier, Sveltekit makes building a fullstack app a pleasant and enjoyable experience 🥰

maskman
Автор

Brilliant explanations as usual, thank you so much 😃👍

pjc
Автор

great viedo Thanks cooper keep up the good work
👍👍

salahaldinedouard
Автор

Subscribed for more Sveltekit content 😉

ivanbarta
Автор

how does this work if i want to have file extensions in my endpoints? in sveltekit the trailingslash is removed by default, so the api endpoint would look like /random-number, and if i were to do /random-number/ would it work? what if i wanted /random-number.js so many questions...

thetastr