Skip to content

Feature: install Tailwind plugins without npm #421

@bradgessler

Description

@bradgessler

Picking up from https://x.com/flavorjones/status/1846728744645300224...

To recap, I've had conversations with Rails devs who are confused why they have to install npm to add Tailwind plugins to a tailwindcss-rails app when using importmaps. For example, installing daisyUI requires npm: https://daisyui.com/docs/install/

I initially struggled building a mental model around this, but then I figured out that npm is used strictly for package management. I also had to add npm as a dependency to my build process to download and install tailwind plugins.

Ideally I could install Tailwind plugins without needing to introduce npm as a dependency to my project and could instead run a command similar to importmaps pinning to install the plugin. Is that something that would make sense in this library, tailwindcss-ruby, importmaps, or a different library/approach?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions