Adding shadcn to my nuxt project using layers #970
Unanswered
torbentschechne
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys,
I followed the installation to add the shadcn nuxt module to my project.
I have a structure like this:
The
packages/core
stuff is an layer that provides all components etc that the apps will use commonly. I added the nuxt module while being in the pathfrontend/packages/core
. The docs now state that I should run this command:npx shadcn-vue@latest init
Now I wonder, where should I run this command? In the
frontend/packages/core
or in theroot
or infrontend/apps/app
. My assumption would be to run it in thefrontend/packages/core
as here I've added the module. Is that correct?Edit: And another question, my shadcn config object in the nuxt config get's this error:
Beta Was this translation helpful? Give feedback.
All reactions