Skip to content
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

docs: troubleshooting for shadcn when using vite #192

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/cookbook/integrating-shadcn-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,14 @@ Now you can import and use your new button component from `@/components/ui/butto

> [!NOTE]
> Check out the [`shadcn/ui` components gallery](https://ui.shadcn.com/docs/components/accordion) to explore all the beautiful components at your disposal.


## Troubleshooting

If you're using `vite` and see this error `No Tailwind CSS configuration found at path....` (but do have a `tailwind.config.js`) ensure you've imported the CSS properly.
```
@tailwind base;
@tailwind components;
@tailwind utilities;
```
Reference: [Link to Common Github Issue](https://github.com/shadcn-ui/ui/issues/4677)