This repository contains a template that integrates Tailwind CSS 3 with Middleman
Here is an article on how this template is built.
- Clone the repo
- Run
npm install
- Run
bundle install
- Run
middleman serve
ormiddleman build
Done!
This installation uses Tailwind CLI via a Middleman external pipeline (source).
When running middleman serve
Tailwind CLI will watch for any changes to the content files and will then rebuild the CSS as necessary.
When running middleman build
the app will be built to the build/
directory.
Bug reports and pull requests are welcome!
The code is available as open source under the terms of the MIT License.