Dark mode toggle (cookie based) with SSR in Sveltekit
WebJeda
In this video we will be learning how to add a theme toggle to our Sveltekit website which used cookies for persistence and also server side rendered!
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 Documentation: https://kit.svelte.dev/docs/hooks#server-hooks-handle 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 #layout #darkmode #theme #cookie ... https://www.youtube.com/watch?v=mt56gKUeppk
47136203 Bytes