Development

SvelteKit Tutorial

Intermediate
2h

By: Shaun Pelling

SvelteKit Tutorial

Overview

SvelteKit serves as an all-encompassing framework for building web applications, harnessing the reactivity of Svelte at its core. Unlike traditional frameworks that perform most of the heavy lifting on the client side, SvelteKit shifts part of this work to the server at build time. This approach results in faster, more efficient applications, as Svelte compiles the application to optimized vanilla JavaScript at build time. SvelteKit enhances this by offering features such as server-side rendering, static site generation, and file-based routing, all orchestrated to deliver a smooth developer experience and high-performance applications. With SvelteKit, developers can create interactive web interfaces that are both lightweight and fast, leveraging the simplicity and compactness of the Svelte syntax.

Skills Learned

  • Understand the concept of SvelteKit.
  • Set up a SvelteKit application.
  • Refresh knowledge on Svelte components.
  • Create pages and define routes.
  • Construct reusable Svelte components.
  • Use layout components in SvelteKit.
  • Implement layout resets.
  • Load data with server-side rendering.
  • Differentiate client-side and server-side code.
  • Create dynamic routes in SvelteKit.
  • Handle redirects within SvelteKit.
  • Prefetch data in SvelteKit apps.
  • Create error pages for SvelteKit.
  • Deploy a SvelteKit app to Vercel.
  • Use API routes in SvelteKit.

Modules

1. What Is SvelteKit?

1.1 What Is SvelteKit?6 min
1.2 Setting Up a SvelteKit App6 min
1.3 Svelte Components (Refresh)9 min
1.4 Pages & Routes10 min
1.5 Reusable Components8 min
1.6 Layout Components8 min
1.7 Reset Layouts6 min
1.8 Loading Data & SSR10 min
1.9 Client Side Vs Server Side Code4 min
1.10 Dynamic Routes7 min
1.11 Redirects2 min
1.12 Prefetching Data5 min
1.13 Error Pages5 min
1.14 Deploying to Vercel3 min
1.15 API Routes6 min
1.16 Showing the Total Number of Products5 min

Ready to Elevate Your Team's Learning?

Talk with our sales team to see how StormWind can transform the way your organization trains and grows.

CONTACT SALES