-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: nuxt installation not work at all! #857
Comments
I'm having the same issue. |
Fixed the issue:
the problem here was that components and utils had @ on it, i just removed it. Also there are missing dependency that i had to manually install: class-variance-authority and radix-vue as exemple. I think that shadcn-vue shouldn't be used in production or big projects, its pretty and cool but its all broken. |
thanks, this helped me fix the issue also |
Did you do step 5 https://www.shadcn-vue.com/docs/installation/nuxt.html ?
|
👍Sent from my iPhoneOn Nov 3, 2024, at 11:34 AM, Björn ***@***.***> wrote:
Did you do step 5 https://www.shadcn-vue.com/docs/installation/nuxt.html ?
export default defineNuxtConfig({
modules: ***@***.***/tailwindcss', 'shadcn-nuxt'],
shadcn: {
/**
* Prefix for all the imported component
*/
prefix: '',
/**
* Directory that the component lives in.
* @default "./components/ui"
*/
componentDir: './components/ui'
}
})
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Hey @jamesallan93, this PR intends on fixing the issue above 😊. |
Thanks, this worked for me as well.
|
v0.11.2 https://www.shadcn-vue.com/docs/installation/nuxt.html npx nuxi@latest module add shadcn-nuxt
try pnpx nuxi@latest module add shadcn-nuxt
|
Reproduction
Just look at the complete log below
Describe the bug
step by step -> https://www.shadcn-vue.com/docs/installation/nuxt.html
and then:
System Info
Contributes
The text was updated successfully, but these errors were encountered: