In this video, I will be showing you how to create a Sveltekit blog using WordPress as the headless CMS.
We will be fixing the blog post URL to a SEO friendly slug using post slug provided by WordPress API.
Code: https://github.com/sharu725/sveltekit-wordpress-headless
Install WordPress in local: https://bitnami.com/stack/wordpress/installer
Playlist: https://www.youtube.com/playlist?list=PLm_Qt4aKpfKjNYwZoV_ht3LbXQwldfEMY
======================================
? Follow me - @webjeda
? Visit my website - https://webjeda.com
=======================================
#sveltekit #wordpress #blog #svelte #api #cms
...
https://www.youtube.com/watch?v=bZ6NCKxkGkU
1. Web developer friendly
I'm a web developer and I like HTML, CSS, and JavaScript. To be honest, I never really liked any JS framework before because they asked me to learn something new. Sometimes new syntax, sometimes new ways to use the markup so on and so forth.
I'm ok to learn new things but I did not dig deep into any of them because they felt like a deviation from the regular HTML, CSS, and JavaScript that I used everyday.
Eventually, I had to take up React for a project to which I was been a part from a long time. It was kind of forced on to me but I started liking it. I understood the true productivity and simplicity that can be obtained from a JavaScript framework.
But, I did not like how React uses JSX or HTML inside JavaScript. That always felt wrong to me.
Along with all these, I was also trying to learn Vuejs which seemed more like HTML and less like JSX.
I still love Vue for the fact that you can just put a script tag in any HTML app and you can start using Vue. Which is fantastic. This is exacly how we add a Javascript plugin to HTML.
Let's say you are designing a homepage and you want a carousel or slider, you just go to slick carousel page, get the script tag and use it on your website with some initializations. That's it. You can start using it. In that way Vue was revolutionary. For me at least.
I was still into Vue until I watched "Rethinking Reactivity" video on youtube. I'm not sure how I ended up watching that video but I'm glad I watched it.
I still watch it time to time to understand the Genius of Rich Harris. How he looked at these JS frameworks in a different angle and utilized compiler instead of the browser to handle all the logic. And also, How he found a way to truly reactify elements without DOM diffing where you change something in Virtual DOM and compare it with the actual DOM. And then update the difference to the actual DOM.
And in that way - since svelte is truly reactive - he got rid of Virtual DOM completely which is radically different from other frameworks. Because the other frameworks still use Virual DOM which is an overhead.
So Sveltejs was mind blowing for me because finally I found this JavaScript framework that isn't difficult to learn, it uses less number of code to achieve the same thing and the most important of all, spits out a tiny JS file which doesn't need any Runtime environment to run.
That should be enough to be excited about svelte but there are other things I like about Svelte
2. You can just write HTML
Svelte is a superset of HTML. I feel like it is HTML but with a lot of enhancements.
Even a paragraph tag works, just like any html file.
Creating components and using them is easy.
3. Scoped style
Css is localized to a component, doesn't affect other components.
It solve
...
https://www.youtube.com/watch?v=wY6unLTuMsU
In this video we will be learning how to improve our theme toggle by adding prefers-color-scheme to our Sveltekit website!
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
prefers-color-scheme: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
window.matchMedia(): https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia
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 #layout #darkmode #theme #cookie #prefers-color-scheme
...
https://www.youtube.com/watch?v=dORbhEZuKmE
Update: It isn't working at the moment but it will be fixed. Follow the instructions.
Instructions: https://github.com/svelte-add/tailwindcss/issues/42#issuecomment-835858863
In this video I will be showing how to add Tailwind CSS to a Svelte kit app.
Tailwind and Svelte works really well together but setting it up along with Purge is a pain. There is an easy solution for the same. I have explained it in the video.
? Follow me - https://twitter.com/webjeda
? Visit my website - https://blog.webjeda.com
Svelte Add: https://github.com/svelte-add/svelte-add
Svelte Kit: https://kit.svelte.dev/
#sveltekit #tailwind
...
https://www.youtube.com/watch?v=_bViHP-Utxw
In this video we will learn how to integrate google forms in Sveltekit to get response from our custom form.
In this SvelteKit 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/
Google Prefilled link article: https://webjeda.com/blog/google-pre-filled-forms
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 #form
...
https://www.youtube.com/watch?v=4XCGuchFiac
In this video, I will be showing how we can create a custom form and send the submissions to a google form automatically using Sveltekit APIs.
Try it here: https://sveltekit-google-form.netlify.app/
Playlist: https://www.youtube.com/watch?v=wY6unLTuMsU&list=PLm_Qt4aKpfKi7J6Jc2OR7YLz1hEhC_4Mc
======================================
? Follow me - @webjeda
? Visit my website - https://webjeda.com
=======================================
#sveltekit #googleform #contactform
...
https://www.youtube.com/watch?v=mBXEnakkUIM
Read: http://blog.webjeda.com/jekyll-sitemap/
Support my channel: https://www.paypal.me/webjeda
[No CLI used] In tutorial 4 I have showed how to create a blog in Github Pages. Now in this video I will be showing how to make a sitemap inside the repository.
Final Sitemap: http://redgadget.github.io/emerald/sitemap.xml
A sitemap is a list of links of all your web pages. Sitemap will be in .xml format. A sitemap helps search engine bots to crawl through your website.
Sitemap will also have metadata such as date of a post, pages, last modified date and how often it was updated etc., It looks like your feed.xml file.
If your website doesn’t have any posts or pages, you may not need a sitemap. But for a blog with several posts, sitemap is necessary (if you want to rank better in search engines).
You can submit your sitemap to major search engines like Google, Bing, Yahoo etc., so that their respective bots crawl through your site and index them. Only after indexing, your link appears in search results.
In wordpress, creating a sitemap using a plugin is really easy. What if I tell you that creating sitemap in Jekyll is easier! Jekyll blogs will not have sitemap by default. You can always generate them using a small snippet of code. Add the below code to your _config.yml file. This will create a sitemap for you with the link /sitemap.xml.
======code======
gems:
- jekyll-sitemap
======code======
and commit once you add this piece of code.
Refer to the playlist for complete tutorial on Github Pages and hosting websites and blogs on it.
https://www.youtube.com/playlist?list=PLm_Qt4aKpfKijgP0rDH7FSJOlS9IBGbT1
*No CLI or Terminal
*Only html coding
Blog: http://redgadgets.com
Facebook page: https://www.facebook.com/webjeda/
My Website: http://webjeda.com
Web Development blog: http://blog.webjeda.com
Note: These videos are more focused on web designers and
developers.
#jekyll #githubpages #tutorial
...
https://www.youtube.com/watch?v=kiBtQClK-XQ
In this one I'm going to delete todo items from the simple Svelte Todo app we created in the previous video.
Playlist: https://www.youtube.com/playlist?list=PLm_Qt4aKpfKiGbdjaHdOpry6Neza0etxZ
0:00 Mark Todos as complete
5:26 Delete Todos
9:18 Closing notes
Checkout Lihautan's Channel: https://www.youtube.com/channel/UCbmC3HP3FaAFdcZkui8YoMQ
=====================================
? Follow me - https://twitter.com/webjeda
? Visit my website - https://blog.webjeda.com
======================================
#sveltekit #firebase #firebase9
Subscribe to get the updates.
...
https://www.youtube.com/watch?v=50s6IKO8028
When to use Svelte 5 derived.by rune
Example: https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAA52Rz27UMBDGX2WwODjakFKOaRKpQlw4wAFudbXy2pOtRdY29qRSFOWMhASvwCvyCMhJ9o-KQIJDrIz9zW--mRlZazqMrLwbmZUHZCW79Z7ljAafgviIHSHLWXR9UOmmiioYT42wgjokUDIQ1PA8kiTkd_fZzfHF9ocdhq1rt4bwEJNIYzCPqIvdwHkGdQNjEgtSzkYCBfWMKwLqXiHnEXIwGSRhhA1sTPG5l5YMDTm8zJbUgNQHCypF01I8fQtRav3RvV4cch-c7hVd1k02ZRdQ6mFr7HbtpZVdxNVYstO68EaqB85TH5fpgkw7XxZpdlDXsNaY4-wsEzSrju5hU8P1zfnxdwsUejy-T8vPtDa8nKblz56kXdSbbfs-PpyaXhnzlIStrs5btHwe0AsYnywsFax8wEbY8e2H9--KSMHYvWkHnvg52L7rcniVzcBFKGy164mcBWdVZ9SnelwWfdoEH9NsShBMet-hYDkcx1LC9ZRNza3W8PPHt-_V1YJq_gXqgrT7v1C__hd1H6TH-GfqlxOV5ezgtGkNalamLU730y9g_HecZQMAAA==
...
https://www.youtube.com/watch?v=F1os3_3Vi6E