A Tailwind CSS Starter. Based on Tailwind CSS, Webpack and PostCSS. Fully optimized for top performance.
For future reference:
Prerequisites: Before you use this starter, you must install Node.js.
To get started, clone the project (or download the ZIP file) and install the dependencies:
# Install dependencies
npm install
# Build with Tailwind CLI
npm run dev
# Serve with Parcel
npm run serve
The page is rendered here http://localhost:8080/.
The sample page renders my blog layout redesigned with Tailwind ;-)
To build a production bundle run:
npm run prod
After that you will have a ready to deploy bundle at /dist
tailwind.config.js
from purge
to content
tailwind.config.js
remove variants
npm install -D tailwindcss@latest \
@tailwindcss/typography@latest \
@tailwindcss/forms@latest \
@tailwindcss/aspect-ratio@latest \
@tailwindcss/line-clamp@latest \
postcss@latest \
autoprefixer@latest
Update to Tailwind CSS v1.2.0, including Tailwind UI support.