Skip to content

Instantly share code, notes, and snippets.

@cesardpaz
Last active November 17, 2023 14:53
Show Gist options
  • Save cesardpaz/f3aa06c711765a4ca57c84061d1107e9 to your computer and use it in GitHub Desktop.
Save cesardpaz/f3aa06c711765a4ca57c84061d1107e9 to your computer and use it in GitHub Desktop.
Tailwind Create Initial Install
npm install -D tailwindcss
npx tailwindcss init

Create src/tailwind.css

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

In Package.json

"tw": "npx tailwindcss -i ./src/tailwind.css -o ./dist/output.css --watch"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment