Protect routes in SvetleKit

Опубликовано: 17 Июнь 2026
на канале: WebJeda
2,828
67

In this video we will be learning how to implement some protected routes in our Sveltekit website!

00:00 Protected routes intro
00:38 the bad way of protecting routes
04:55 the good way using +page.server.js
07:41 the best way using hooks.js

In this SvelteKit 1.0 Walkthrough series we will be learning Sveltekit by doing a small project.

We will be creating a website similar to this one - https://business-frontpage.webjeda.com

Hosted site: https://sveltekit-walkthrough-website...
The code for the completed project is here - https://github.com/sharu725/sveltekit...

🐦 Follow me -   / @webjeda  
🌐 Visit my website - https://webjeda.com

#sveltekit #protected #routes