Unable to use components in a CRA React App #3107
adarsh-chakraborty
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. I am getting this error while using components in my React Project
My Project is a standard react project created using CRA, and all of my projects files should reside in src folder.
Some Information about how I installed shad-cn:
I created a new file named
jsconfig.json
with the following details:I tried this one as well
Then I Installed shadcn by the init command,
When I initially ran the command to install component it created the files outside the src folder.
Shadcn didn't ask me if I am using src folder, so I have no idea what settings I need to tweak.
Beta Was this translation helpful? Give feedback.
All reactions