Open jamiehewitt15 opened 3 weeks ago
The docs do say that TailwindCSS is required to use shadcn-ui but only on the manual installation page. Even I didn't realise that earlier but here is the link if you want to check it out:
Even after manual installation, the same problems persist when installing the components.
Even after manual installation, the same problems persist when installing the components.
I wasn't saying that the manual installation will solve this issue. I'm saying that it says there that you need tailwindcss because the components are built using it, so you can't use them if you don't have tailwindcss
No problem, I was just warning the other members that the problem persists, as I have tried every way and nothing works.
No problem, I was just warning the other members that the problem persists, as I have tried every way and nothing works.
Apologies, first time using github mobile and I thought your comment was a reply to mine
Describe the bug
Try running the installation command in a next.js project where tailwind has not previously been used and it leads to an error. The installation instructions seem to be missing a step (i.e. set up tailwind). It doesn't say in the documentation that tailwind is a necessary dependency.
Affected component/components
installation
How to reproduce
npx shadcn@latest init
in a next.js project where tailwind has not been previously used.✖ Validating Tailwind CSS.
Codesandbox/StackBlitz link
No response
Logs
Before submitting