Skip to content

tomaszbujnowicz/tailwindcss-minimal-setup

Repository files navigation

🚀 Setup Tailwind CSS in 20 seconds without node_modules

Based on my article

Tired of running npm install / yarn and seeing tons of files installed in your node_modules just to process your Tailwind CSS file? I got you, have a look at this minimal approach.


Requirements

Make sure all dependencies have been installed before moving on:

Quick start: Installation

Clone this repository and run

  • npm install -g postcss-cli autoprefixer cssnano to install dependencies globally

Tasks

Task Name Description
npm run tailwind Basic usage: process your CSS (development)
npm run build Process your CSS + Autoprefixer (development)
npm run production Process your CSS + Autoprefixer + Minify CSS (production)

Copyright and license

Copyright 2020 Tomasz Bujnowicz under the MIT license.

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy