You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tailwind plugins allows Tailwind to do so much more than it does out of the box.
For example in Tailwind 0.7 they added the ability to add custom variants via plugins: tailwindlabs/tailwindcss#505 (comment)
Would be great to have the ability to both create a plugin for personal use, using a blueprint such as ember g tailwind-plugin which would put the plugin in a plugins/*.js directory
Another thing that we could potentially add is a blueprint such as ember tailwind install new-plugin which would install the plugin from NPM and wire it up for usage, handling things like requiring it in the tailwind/config.js
This is really awesome! I used it to add a direction variant so that you can do rtl:ml-2 ltr:mr-2 for example and it will do either one depending on the [dir] of the parents
The text was updated successfully, but these errors were encountered:
ember g tailwind-plugin seems like a great move, we could even start the default blueprint out with a "dummy" one there, the same way we do for components.
The generator for install new-plugin I'm less sure on, I'd rather folks be able to follow the "plain js" way of doing it so there's less magic here. I think it shouldn't be difficult with the module wiring we have in place.
This feature is definitely 👍 from me, if anyone wants to start on it before I get around to it!
Tailwind plugins allows Tailwind to do so much more than it does out of the box.
For example in Tailwind 0.7 they added the ability to add custom variants via plugins:
tailwindlabs/tailwindcss#505 (comment)
Would be great to have the ability to both create a plugin for personal use, using a blueprint such as
ember g tailwind-plugin
which would put the plugin in aplugins/*.js
directoryAnother thing that we could potentially add is a blueprint such as
ember tailwind install new-plugin
which would install the plugin from NPM and wire it up for usage, handling things likerequiring
it in the tailwind/config.jsThis is really awesome! I used it to add a direction variant so that you can do rtl:ml-2 ltr:mr-2 for example and it will do either one depending on the [dir] of the parents
The text was updated successfully, but these errors were encountered: