Protect routes in SvetleKit
WebJeda
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.vercel.app The code for the completed project is here - https://github.com/sharu725/sveltekit-walkthrough-website
š¦ Follow me - https://www.twitter.com/@webjeda š Visit my website - https://blog.webjeda.com
#sveltekit #protected #routes ... https://www.youtube.com/watch?v=cyZSbSy_Pa0
31550099 Bytes