Closed sandros94 closed 1 year ago
@Sandros94 I set up a fresh Nuxt 3 app with what I believe is a usable setup but I'm not seeing any PostCSS warnings (nor would I expect to because Tailwind CSS does set the result.from option appropriately). Could you provide a reproduction?
Strangely I'm unable to reproduce this outside of the two projects I've noticed it. Even more strangely, on the second project, I've noticed that I had daisyui too, and if I remove either daisyui or @headlessui/tailwindcss the PostCSS warning stop showing up.
Since my nuxt 3 templates are going to be based on the second project and I'm in the process of removing daisyui I'll probably just don't look in to this much further. At least up untill when I can reproduce it consistently.
What package within Headless UI are you using?
@headlessui/tailwindcss
What version of that package are you using?
For example: v0.1.1
What browser are you using?
Chrome, Edge, Safari, Firefox
Reproduction - fresh nuxt3 init with:
package.json
nuxt.conf.ts
tailwind.conf.js
Describe your issue
Running
npm i
andnpm run dev
will show in the terminal a PostCSS warning:Additional notes I'm using @nuxtjs/tailwindcss and nuxt-headlessui to simplify some nuxt feature like autoimports.
I'm fairly new to nuxt and jamstacks in general, but happy to learn and test stuff.