79077081

Date: 2024-10-11 06:57:42
Score: 1
Natty:
Report link

Steps to install tailwindcss in a new deno vite app and configure.

  1. Install tailwindcss.

    deno add npm:tailwindcss

  2. Install dependencies.

    deno add npm:postcss

    deno add npm:autoprefixer

  3. Initialize tailwindcss

    deno run npm:tailwindcss init

  4. Configure tailwind.config.js

    content: [ "./src/**/*.{js,ts,jsx,tsx}", ],

follow rest of the steps from step 4 as mentioned in the https://tailwindcss.com/docs/guides/vite

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: akw