Conflicts with newer Nuxt3 rc-3 with newly nuxt/content #1545
-
What package within Headless UI are you using? "@headlessui/vue": "^1.5.0", What browser are you using? Chrome Describe your issue Started all of sudden to get warnings and errors in build after having upgraded nuxt3 to "nuxt": "3.0.0-rc.3" AND added "@nuxt/content": "^2.0.0", which is a recently newer version of nuxt/content. The warnings and errors have not been spotted in the yarn dev, but yes they have appeared during a yarn build. There has been 23 warning messages just like below, one for each element of headless: TransitionRoot, Dialog, TransistionChild, ... and so on.
At the end there was also an ERROR, apparently in a comobobox.js, although in my application I have not used combobox at all.
Other users have reported same issue in the Nuxt3 discord, so I took the liberty to register here, so you can take a look. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, found a fix for the problem above, described in the nuxt/framework issues: https://github.com/nuxt/framework/issues/4747 The solution is to add the '@headlessui/vue' in the build.transpile at the
Hope it helps, but I think it isadvisable to take a look into it to prevent this WARN to occur. |
Beta Was this translation helpful? Give feedback.
Hi,
found a fix for the problem above, described in the nuxt/framework issues: https://github.com/nuxt/framework/issues/4747
The solution is to add the '@headlessui/vue' in the build.transpile at the
nuxt.config.ts
file:Hope it helps, but I think it isadvisable to take a look into it to prevent this WARN to occur.
RS