Tailwind Html Tutorial

Link

Run it:

npm i
npm run dev
  • Create the Tailwind & Postcss configs: npx tailwindcss init -p

the 3 tailwind layers

@tailwind base;
@tailwind components;
@taildwind utilities;

also used in the tutorial:

  • build the file css/tailwind.css and output it for production in build/tailwind.css npx tailwindcss-cli build css/tailwind.css -o build/tailwind.css