Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 2.42 KB

README.md

File metadata and controls

76 lines (48 loc) · 2.42 KB

Gatsby Starter Tailwind

All Contributors

Gatsby and Tailwind CSS logos
A Gatsby starter styled using Tailwind CSS, a utility-first CSS framework.
Uses PurgeCSS to remove unused CSS.
Illustrations by unDraw.

alt text

View demo here.

What is Tailwind CSS?

"Tailwind CSS is a utility-first CSS framework for rapidly building custom user interfaces." –Tailwind CSS

What is Gatsby?

"Gatsby is a free and open source framework based on React that helps developers build blazing fast websites and apps." -Gatsby

Get started

Install the Gatsby CLI:

npm i --global gatsby-cli

Create a new Gatsby project using this starter:

gatsby new my-new-website https://github.com/taylorbryant/gatsby-starter-tailwind

Build a stylesheet from your Tailwind CSS config and run the project in development mode:

cd my-new-website
npm run develop

Format and lint

  • npm run analyze - See what ESLint and Prettier can fix
  • npm run fix - Run Prettier and ESLint with the --fix option

Build your site

Use npm run build to build your site for production.

Deployment

Netlify

Deploy to Netlify

Vercel (FKA ZEIT Now)

Deploy with Vercel

Resources