-
Notifications
You must be signed in to change notification settings - Fork 186
Description
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?