-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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]: Next.js intall instructions missing tailwind step #4809
Comments
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. |
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. |
Apologies, first time using github mobile and I thought your comment was a reply to mine |
Basically, I'm thinking of the next.js instructions need an extra step. Something along the lines of |
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
The text was updated successfully, but these errors were encountered: