A boilerplate for Mint + Tailwind.
git clone https://github.com/michaelowens/tailmint
cd tailmint
npm install
There is a postinstall script in place to run mint install
automatically after an npm install.
During development start server by running:
npm run dev
This will start mint and recompile tailwind when changes are made to *.config.js files.
To build for production run the command:
NODE_ENV=production npm run build
This will make a production build for tailwind before running mint build.
To get autocomplete for tailwind classes, install Tailwind CSS IntelliSense and go to the extension settings. Under "Include Languages" you can add mint
with the value html
.