August 1st, 2020
This is the first blog on my official website. I'm very happy that you're are reading this & being a part of my happiness.
For the last three days I had been working on my website. It was just recently that I got to know about static site generators to create websites with dynamic content. Gatsby is known for creating blog sites, but I'm still using wp for my blogs which i may change to Gatsby soon.
Gatsby was a great relief for me that I could manage the content very easily. A single yaml file could do the job. The best part was that I wasn't restriced to the free themes on Wordpress or needed to write a single line of backend code (I know I'm still blogging on a wp site XD).
Gatsby doesn't care if you're a beginner or an expert or a geek or a quirkless being. They have the perfect documentation on everything they have and even provides a guided tutorial to help you even if you don't have any idea on React or Gatsby. Just visit the page and step into the tutorial, It'll take you from a beginner to master. I was just kidding! that won't happen overnight XD. It takes time and patience to become a master.
If you ever start with Gatsby, you'll be very happy that you read this blog. Here are some issues that I'm pretty sure that every Gatsby developers will encounter.
If you install a plugin make sure to update the gatsby-config.js file.
Even if messed up your config files and public folders, remember that the src files is all that you need to reconfig it;.
If installing a plugin causes any issues like you get a million errors, del the node-modules folder and package-lock.json file. Then run
Suppose that you're updating something in your files and the update won't take any effect at all then, remove the .cache files and public folder, and then build the files again. For doing this, run
gatsby clean and
npm run develop
But that is not it for Gatsby. It is a whole new world to create mind blowing applications with ease. Just try it out. You'll be happy for sure.