Skip to content

[bug]: No tailwind css configuration found #5216

Description

@Shrikanthpawar

Describe the bug

I have created a new Vite project and made all the changes as described on shadcn docs but after using npx shadcn@latest init the command, I am getting an error. That's why I am not able to use shadcn components.

Following error will be displayed:

image

Affected component/components

All

How to reproduce

  1. Create a Vite project
  2. Make changes as described on Vite installation docs
  3. Use command npx shadcn@latest init

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Windows 11
Node v22.9.0

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions