Skip to content

Commands and steps needs to be updated as per tailwindcss v4 #18

@CraftedBeing

Description

@CraftedBeing
  1. First needs to install the package pip install pytailwindcss
  2. Then Install the binary with _tailwindcss_install_
  3. Then add import function in src/input.css from where the css will get generated @import "tailwindcss";
  4. tailwindcss init command is deprecated in v4 and with this python package the tailwind config file not getting generated and manually needs to create the file named

tailwind.config.js

and then add html content details from where the classes will get picked.
5. Then finally the watch command which will automatically generate the css when new changes occur tailwindcss -i input.css -o output.css --watch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions