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

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ก.พ. 2023
  • 🎓 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/docs/routing . Feel free to check them out if you don't prefer a video format.
    Business inquiry? Email thecoopercodes@gmail.com
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 13

  • @greendsnow
    @greendsnow ปีที่แล้ว +2

    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.

  • @maskman4821
    @maskman4821 ปีที่แล้ว +1

    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 🥰

  • @paulclarke4099
    @paulclarke4099 10 หลายเดือนก่อน

    Brilliant explanations as usual, thank you so much 😃👍

  • @Noritoshi-r8m
    @Noritoshi-r8m 10 หลายเดือนก่อน

    Great stuff, many thanks.

  • @meka4996
    @meka4996 ปีที่แล้ว

    Awesome! Thanks

  • @salahaldinedouard5299
    @salahaldinedouard5299 ปีที่แล้ว

    great viedo Thanks cooper keep up the good work
    👍👍

    • @CooperCodes
      @CooperCodes  ปีที่แล้ว +1

      Salah, thank you so much for watching! I appreciate the comment :)

  • @ivanbarta2821
    @ivanbarta2821 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

    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...

  • @nickthiru
    @nickthiru หลายเดือนก่อน

    🙏🙏🙏

  • @2u841r
    @2u841r หลายเดือนก่อน

    is this still same in sveltekit 2?