tailwind-boilerplate
tailwind-boilerplate copied to clipboard
📦 Quick boilerplate to get you started with TailwindCSS
tailwindcss-boilerplate
A quick opionated setup to get you up and running without doing any configuration. This is useful for prototype.
Installation
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 start # yarn yarn run start
To build for production
The production code is optimized using cssnano.
To run
# npm
npm run prod
# Yarn
yarn run prod
This will create a minify css file in dist/css/main.css
.
Tailwind Config
You can find an example of a tailwind config file here
License
MIT