tailwind css npm code example
Example 1: tailwind cdn
<!-- 27kb compressed, 348kb raw -->
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
Example 2: tailwind css npm
# Using npm
npm install tailwindcss
# Using Yarn
yarn add tailwindcss
Example 3: tailwindcss init full
//Scaffolding the entire default configuration
//This will full tailwind.config.js file at the root of your project:
npx tailwindcss init -- full
Example 4: add tailwind full
npx tailwindcss init --full