Starter project for using Jekyll with Tailwind CSS
The Jekyll Tailwind Starter is a starter pack that provides a convenient setup for using Jekyll with Tailwind CSS, Autoprefixer, and Purgecss. It offers an efficient way to compile and manage your styles using PostCSS plugins.
To install the Jekyll Tailwind Starter, follow these steps:
yarn install
# or
npm install
module.exports = {
plugins: [
require('postcss-import'),
require('tailwindcss'),
require('autoprefixer'),
require('@fullhuman/postcss-purgecss'),
require('cssnano')
]
}
bundle exec jekyll build
The Jekyll Tailwind Starter is a convenient and efficient solution for using Jekyll with Tailwind CSS. With its integration of Autoprefixer and Purgecss, it provides improved performance and compatibility. The support for other PostCSS plugins allows for easy customization and further enhancement of the development workflow. It has been tested on Netlify, making it a reliable option for deployment.