-
Notifications
You must be signed in to change notification settings - Fork 218
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
/styles/globals.css The border-border
class does not exist. If border-border
is a custom class, make sure it is defined within a @layer
directive.
#18
Comments
same issue, anyone solve this? |
I had to delete the tailwind.config.js file as in this response: shadcn-ui/ui#214 (comment) |
so whats the solution here? |
Delete tailwind.config.js |
If anyone ever encounters this error, I realized that I had both a tailwind.config.js and tailwind.config.ts in my repository at root level (I had forgotten to delete tailwind.config.js). Deleting the redundant tailwind.config.js fixed it. Hope this helps out! |
If anyone ever encounters this error, I realized that I had both a tailwind.config.js and tailwind.config.ts in my repository at root level (I had forgotten to delete tailwind.config.js). Deleting the redundant tailwind.config.js fixed it. Hope this helps out! |
I found the solution in this page https://ui.shadcn.com/docs/installation/manual |
As a first-time user of shadcn-ui, I encountered this error due to misconfiguring the If you're following this guide, I recommend double-checking your If you're following the Next.js guide, make sure to include these lines as a child of the |
Any ideas? Setup the template and then ran
pnpm dlx shadcn-ui@latest init
for thecomponent.json
.The text was updated successfully, but these errors were encountered: