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

  Рет қаралды 2,067

Cooper Codes

Cooper Codes

Күн бұрын

🎓 Join my learning platform for module based courses, learning exercises, and more: coderprep.com/
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.
Some code examples come from the docs here: kit.svelte.dev... . Feel free to check them out if you don't prefer a video format.
Business inquiry? Email thecoopercodes@gmail.com

Пікірлер: 13
@maskman4821
@maskman4821 Жыл бұрын
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 🥰
@greendsnow
@greendsnow Жыл бұрын
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.
@Noritoshi-r8m
@Noritoshi-r8m Жыл бұрын
Great stuff, many thanks.
@paulclarke4099
@paulclarke4099 Жыл бұрын
Brilliant explanations as usual, thank you so much 😃👍
@ivanbarta2821
@ivanbarta2821 Жыл бұрын
Subscribed for more Sveltekit content 😉
@CooperCodes
@CooperCodes Жыл бұрын
Check out my latest vid if you haven't already! Great intro to sveltekit and TS which may interest you :) Thank you for subscribing and commenting
@thet0ast3r
@thet0ast3r Жыл бұрын
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...
@meka4996
@meka4996 Жыл бұрын
Awesome! Thanks
@2u841r
@2u841r 3 ай бұрын
is this still same in sveltekit 2?
@salahaldinedouard5299
@salahaldinedouard5299 Жыл бұрын
great viedo Thanks cooper keep up the good work 👍👍
@CooperCodes
@CooperCodes Жыл бұрын
Salah, thank you so much for watching! I appreciate the comment :)
@nickthiru
@nickthiru 3 ай бұрын
🙏🙏🙏
5 Things I Wish I Knew When I Started Using SvelteKit
7:27
Ben Davis
Рет қаралды 17 М.
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 36 МЛН
From Small To Giant Pop Corn #katebrush #funny #shorts
00:17
Kate Brush
Рет қаралды 67 МЛН
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 11 МЛН
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 99 МЛН
Introduction To Svelte Runes (Every Svelte Rune Explained)
12:36
Cooper Codes
Рет қаралды 3,8 М.
SvelteKit Layouts Explained (Nested, Groups, Resets)
17:46
Huntabyte
Рет қаралды 21 М.
When To Use Page Versus Standalone Endpoints In SvelteKit
18:45
Joy of Code
Рет қаралды 8 М.
Let's Fix The Fatal Flaw in TypeScript's Union Types!
13:45
Typed Rocks
Рет қаралды 20 М.
Svelte UI Libraries Have Leveled Up
12:14
Huntabyte
Рет қаралды 60 М.
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 639 М.
Let's Learn Svelte.js in 60 Minutes (fun speed run).
58:17
developedbyed
Рет қаралды 41 М.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 158 М.
小丑妹妹插队被妈妈教训!#小丑#路飞#家庭#搞笑
00:12
家庭搞笑日记
Рет қаралды 36 МЛН