holger1411 / tailby

Tailwind CSS incorporated in a simple Kirby CMS boilerplate.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kirby CMS & Tailwind CSS boilerplate

I just add Tailwind CSS to the Kirby Plainkit starter pack. With Purge via PostCSS and Kirby as submodule. More coming soon.

Generate Tailwind output

npm run build

Run this command for a non-minified and non-purged dev version of your stylesheet. Source for the stylesheet is site/tailwind/tailwind.css, destination is assets/style.css

npm run watch

Starts the watch mode for local development. Simply runs the build task automatically as soon as you change something on your site/tailwind/tailwind.css

npm run prod

Like the "build" commmand but runs the postcss processes along with the stylesheet generation. It purges and minifies the outputed assets/style.css file

Credits

About

Tailwind CSS incorporated in a simple Kirby CMS boilerplate.


Languages

Language:JavaScript 71.6%Language:PHP 20.8%Language:CSS 7.6%