A Gatsby starter styled using Tailwind CSS, a utility-first CSS framework.
Uses Tailwind CSS' built-in purge option to remove unused CSS.
Uses Tailwind CSS' built-in purge option to remove unused CSS.
Install the Gatsby CLI:
npm install --global gatsby-cliCreate a new Gatsby project using this starter:
gatsby new my-new-website https://github.com/taylorbryant/gatsby-starter-tailwindBuild a stylesheet from your Tailwind CSS config and run the project in development mode:
cd my-new-website
npm run developnpm run analyze- See what ESLint and Prettier can fixnpm run fix- Run Prettier and ESLint with the--fixoption
Use npm run build to build your site for production.
