TailwindCSS not working with AMP #1310
Labels
bug
Something isn't working
help wanted
PRs welcomed. The implementation details are unlikely to cause debate
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
When I turn on the amp option in the config, the tailwindcss stops working and I'm guessing that's because of the AMP requirement to have styles either inline or in the
head
.To Reproduce
Here is a sample repo with the AMP option turned on and also with Tailwind JIT
Expected behavior
Would absolutely love it if tailwind classes could be mentioned in
head
Severity
Our entire project is built using tailwind and wanted to use AMP pages for our content and now literally all our pages have no styles because of this.
The text was updated successfully, but these errors were encountered: