-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
asking for tsconfig despite of choosing javascript #1566
Comments
duplicate #821 |
@KMJ-007 do you have a |
I finally got it working with Vite + JS correctly. Follow the first two steps as described in Vite setup docs: https://ui.shadcn.com/docs/installation/vite Create a jsconfig.json file in root and use this: Setup vite.config.js like this: Now install shadcn with the CLI command. Everything should correctly work now and you can add components after setup. Here's components.json as reference: |
no, shouldn't it create itself, if not present? and it should have showed error for jsconfig not tsconfig can i do PR for correct error msg ? |
Is the issue about |
Same but #1566 (comment) fixed the problem |
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you. |
This bug is still present. |
The text was updated successfully, but these errors were encountered: