Minimal bootstrap 5 and Gatsby configuration with SCSS support.
Demo here : https://gatsbystarterbootstrap5.gatsbyjs.io/
- You can theme bootstrap via
src/components/layout.scss
Use the Gatsby CLI to create a new site.
# create a new Gatsby site using the default starter
gatsby new gatsby-starter-bootstrap-5 https://github.com/r-ichard/gatsby-starter-bootstrap-5
-
Navigate into your new site’s directory and start it up.
cd gatsby-starter-bootstrap-5/ gatsby develop
-
Open the source code and start editing!
Your site is now running at
http://localhost:8000
!Note: You'll also see a second link:
http://localhost:8000/___graphql
. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.Open the
gatsby-starter-bootstrap-5
directory in your code editor of choice and editsrc/pages/index.js
. Save your changes and the browser will update in real time!
Any feedback is welcome and helpful.