-
Notifications
You must be signed in to change notification settings - Fork 279
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]: Fresh install, new project: The border-border
class does not exist.
#816
Comments
Related to the one I opened on #815 |
same. Followed the install instruction, watched tutorials and still ended up with this error. It's as if shadcn-vue and tailwind.config.js are not communicating |
I was helped by installing |
Here is a temporal workaround #815 (comment) |
That comment #815 (comment) didn't help. I did manually install Typescript I can keep trying to manually installing missing dependencies as others suggest, but that sort of defeats the whole point of the fact that this is an issue on ShadCDN-Vue new installs, in particular with me the Nuxt variation. |
@hdwebpros , can you try a new project and install v 0.10.4 instead of latest it should work, it worked for me, if you continue doing latest, then all deps need to be installed manually and some files changed too. The way I see the problem is that shadcn-vue is already at v0.11.0 but somehow shandcn-nuxt stayed at 0.10.4 (even when on github is already 0.11.0), the cli and nuxt module don't match and is not doing all the steps that it supposed to do. |
Installing these deps helped me: Fresh Nuxt install with Button component works. |
@Gornius with this as my dependencies in package.json
if I run the
That line is: And also, for anyone following, a minor detail but make sure you add the blank folders that this needs to eliminate compiler errors and warnings, such as |
Reproduction
https://www.shadcn-vue.com/docs/installation/nuxt
Describe the bug
On a Nuxt project, fresh install via: https://www.shadcn-vue.com/docs/installation/nuxt
I run
npx shadcn-vue@latest init
to initAfter I do just the default values, I run
npm run dev
ordeno run dev
. Either way I get:I looked at similar issues, but this doesn't have any tailwind files at all before init, and after init all I have it tailwind.config.js
System Info
Contributes
The text was updated successfully, but these errors were encountered: