primefaces / primevue

Next Generation Vue UI Component Library

Home Page:https://primevue.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nuxt module component autoImport in v4 rc3 doesn't work with component prefixes

HummingMind opened this issue · comments

Describe the bug

If i remove component prefixes from the component configuration the build step works fine. If I add it to the configuration the build breaks with the following error:
image

Config:
image

Thank you!

Reproducer

Stackblitz

PrimeVue version

4.0.0-rc.3

Vue version

3.x

Language

TypeScript

Build / Runtime

Nuxt

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

Interesting! I couldn't replicate it. Could you please create a sample project for us to replicate? I tried with PrimeButton and PrimeCalendar components. It works fine for me.

Maybe it's a Windows only issue again? Similar to Nuxt/Nitro and 5879.
I'll do a Codesandbox a bit later today and see what happens there. Will let you know.

It's not a full one-to-one copy of my project, but it's close...and the error shows up when you run "npm run build"
Stackblitz

Thanks a lot @HummingMind, Fixed for the next version.