Uh oh!
There was an error while loading. Please reload this page.
fix(module): Nuxt 2 support - #508
Conversation
bmulholland
commented
Jul 15, 2022
Thanks for the fix <3 |
Tahul
commented
Jul 15, 2022
Hey @bmulholland ; If you want to use the fix in your app, I made an edge publish for it: Thanks for your collaboration and sorry for not checking Nuxt 2 support earlier, it was unexpected! |
bmulholland
commented
Jul 15, 2022
Hah! I bet it was unexpected :). A bug in a core nuxt library caused by an ambiguous, undocumented configuration parameter that changed between versions also by the core library is one hell of a gotcha. |
harlan-zw
commented
Jul 15, 2022
Looks good 👍 The Nuxt 2 playground will be useful to avoid regressions in the future |
dneckel
commented
Jul 22, 2022
Would love to see this merged soon ❤️ |
Not sure if this is related, but I am also getting this error when I tried to add it as a module inside my builder class but for my case it seems like downgrading didn't fix this issue Further investigation shows that nuxt-highlightjs somehow add the css array an object instead of a string, and that cause the resolvePath function to fail, not sure if this is a error from the tailwindcss side, or is it an error in nuxt-highlightjs side. |
Since 5.2.0, some Nuxt 2 users encountered issues with the module.
@bmulholland kindly found it was related to
@nuxt/kitinconsistencies between Nuxt 2 and 3.That PR solves the support for tailwind.config in Nuxt 2, and disables the config viewer in that environment.
Config viewer seem to break the stack as @nuxt/kit
addServerHandlerseem to break the module in that environment.That issue is tracked here, thanks to @harlan-zw: #507
Resolves: #500