A quick opionated setup to get you up and running without doing any configuration. This is useful for prototype.
To get started:
- Clone the repository:
git clone https://github.com/peoray/tailwind-boilerplate.git
cd tailwind-boilerplate
-
Install the dependencies:
# npm npm install # yarn yarn install
-
Start up development server
# npm npm run serve # yarn yarn run serve
The production code is optimized using PurgeCSS and cssnano.
To run
# npm
npm run prod
# Yarn
yarn run prod
This will create a minify css file in dist/css/main.css
.
MIT