I think I may be mixing things, but how do I install Tailwind plugins? Is it just a matter of adding the require
statement to tailwind.config.js
? Do I still need to use npm
to first install the plugin?
Add it to the config and it should be bundled on restart phx.server
1 Like
The used tailwind cli comes with all official plugins, which you can just add to the config. For third party plugins you‘d need to figure out how to install the plugin as well as tailwind itself, because the cli afaik cannot integrate with those third party plugins for being a precompiled binary.
2 Likes