Closed mcade closed 1 year ago
You can't use plugins with this package, as everything has to be precompiled. You must then use tailwind from npm.
@josevalim I thought this package was supposed to support first party plugins? https://tailwindcss.com/blog/tailwindcss-v3-2#container-queries
Can you please sanity check that the new plugin has been included then? You should be able to extract and see the executable contents. Perhaps it was forgotten to be included in Tailwind side? :)
I'm not sure what you mean or how to do that but I asked GPT-4 and it was no help either.
So my theory is that the plug-in you mentioned was not included in the standalone tailwind. In order to check that, you can download tailwind standalone executable from their website and try to see what is inside, and if that includes your plugin or not. Another option is to check the tailwind paths in the stack trace you posted.
Sounds like you need to jump on latest tailwind and run mix tailwind.install
:
config.exs:
config :tailwind,
version: "3.2.7",
...
I just verified this works. Thanks!
Okay, I spent too many hours trying to figure this out last night but this solves it, thanks!
I also want to take a moment to express my immense gratitude for the work you guys have done in creating Elixir and Phoenix. These tools and the community around them have been transformative for me.
With heartfelt appreciation, Maurice
Glad you got things working. Thanks! ❤️❤️❤️🐥🔥
I previously had a version of tailwind installed in my app that did not support container queries:
I want to use container queries so I updated it 3.2.
I also updated my tailwind.config.js:
I deleted my app.css and then ran mix tailwind.install and then mix tailwind default. Then I try to run the app and see this error in the terminal:
Any idea on how I can add this plugin?