Installing shadcn/ui on Remix project without using TypeScript #6170
ptlmay25
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Follow the following steps
Step 1 - Create Remix project with JavaScript using CLI command
Step 2 - create jsconfig.json in the root folder and add following code
Step 3 - Add path resolver to your vite.config.js file
Your vite.config.js file should look like this
Step 4 - Install shadcn-ui with running CLI command
Step 5 - Add shadcn-ui component for this example we are using Button component
Step 6 - Import any shadcn-ui button component or any other component in to your file
This it enjoy coding.
Beta Was this translation helpful? Give feedback.
All reactions