An opinionated starter template for Gatsby.js that I rely on for most of my projects.
npm install
gatsby develop
Accessible via http://localhost:8000
tailwind.config.js
: This file allows you to customize your Tailwind CSS's settings. Check out Tailwind CSS documentation for more detail on how this works.
env.SAMPLE
: Contains the environment variables that Gatsby will need to look up in order for plugins like Google Analytics to work. You'll have to rename the file to .env.development
for Gatsby to pick up. Also create another file called .env.production
for your production environment.
.prettierrc
: This is a configuration file for Prettier. Prettier is a tool to help keep the formatting of your code consistent.
.eslintrc.json
: This is a configuration file for ESLint. This template comes with ESLint that is pre-configured with configurations defined by AirBnb.
gatsby-config.js
: This is the main configuration file for a Gatsby site. (Check out the config docs for more detail).