Here is a simple demo of Tailwindcss 3++ in Jekyll with sass
- clone the repository
- cd jekyll-tailwindcss
bundle
to install jekyll dependenciesyarn
to install node modulesbundle exec jekyll serve
to run a local server
Enjoy!
Source: documentation Tailwindcss
Here is the final build command:
JEKYLL_ENV=production NODE_ENV production jekyll build
If it does not work, try:
JEKYLL_ENV=production NODE_ENV production bundle exec jekyll build
GitHub deploy uses Node 14
Styles are from https://tailwindcomponents.com/component/card-hero-section