You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use shadcn-vue components within a nuxt content page By default, they are in my app/components/ui directory. The content module fails to find them even though they work as autoimports on normal vue pages just fine. Does anyone know what is needed for them to work? There is a warning in my console that has a whole bunch of output. The main message is: Invalid vnode type when creating vnode: undefined..
::alert
some text
::
The Alert component is in my imports.d.ts file, so I'm not sure why it isn't found here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to use shadcn-vue components within a nuxt content page By default, they are in my app/components/ui directory. The content module fails to find them even though they work as autoimports on normal vue pages just fine. Does anyone know what is needed for them to work? There is a warning in my console that has a whole bunch of output. The main message is:
Invalid vnode type when creating vnode: undefined.
.The Alert component is in my
imports.d.ts
file, so I'm not sure why it isn't found here.Beta Was this translation helpful? Give feedback.
All reactions