Changes:
- Update from 2023 to 2024, including copyrights.
- Upgrade from Gatsby 3 to Gatsby 5.
- Simplify and standardize use of Tailwind.
Note: Gatsby 5 requires Node 18. If a version is installed using nvm, you can switch to it like
nvm use 20.12.2
Git clone, check node --version
is 18+, then run
npm i
gatsby develop
Then browse to localhost:8000/
Or gatsby develop -H 0.0.0.0
and browse to :8000/
May require gatsby develop --legacy-peer-deps
-
Create a Gatsby site.
Use the Gatsby CLI to create a new site, specifying the minimal starter.
# create a new Gatsby site using the minimal starter npm init gatsby
-
Start developing.
Navigate into your new site’s directory and start it up.
cd my-gatsby-site/ npm run develop
-
Open the code and start customizing!
Your site is now running at http://localhost:8000!
Edit
src/pages/index.js
to see your site update in real-time! -
Learn more
Deploy this starter with one click on Netlify: