Closed bharatpaliwal-169 closed 4 months ago
If some custom class is not found, you just need to write it in the config, and everything will work 😎
I already resolved the problem on own, I mentioned this issue so that, anyone setting up the env. gets' struck with this problem knows how to tackle this since it's an unexpected error.
The 'border-border' class does not exist. If 'border-border' is a custom class, make sure it is defined within a '@layer' directive.
This is a very weird shadcn and tailwind css config issue. There is no real fix and RCA of why this happens. The possible workarounds to tackle this issue is as follows:
tailwind.config.ts
and notailwind.config.js
, if it's there just delete that.node-modules
folder and donpm i
then donpx shadcn-ui@latest init
again and this should resolve the error.