You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use shadcn/ui in a Rails project that uses Vite with vite_ruby, but I'm facing some difficulties. The issue is that the project doesn't have a tsconfig.json file in the root directory, which is required according to the shadcn/ui documentation for installation.
I've been following the steps in the shadcn/ui documentation, but because the project is using Vite with vite_ruby and not a typical setup, I'm not sure what modifications I need to make or how to proceed with the installation.
Additionally, when using the native Vite tool (via npm create vite@latest), I had the freedom to configure my project step by step during installation. Now, with vite_ruby, it seems to automate and take control of everything, and I'm unsure how to customize or adapt the setup in the same way.
Could anyone provide guidance or point me to resources that explain how to integrate shadcn/ui with a Rails + Vite setup, especially when there’s no tsconfig.json file? And how can I get back some of the flexibility I had with the native Vite tool?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to use shadcn/ui in a Rails project that uses Vite with vite_ruby, but I'm facing some difficulties. The issue is that the project doesn't have a tsconfig.json file in the root directory, which is required according to the shadcn/ui documentation for installation.
I've been following the steps in the shadcn/ui documentation, but because the project is using Vite with vite_ruby and not a typical setup, I'm not sure what modifications I need to make or how to proceed with the installation.
Additionally, when using the native Vite tool (via npm create vite@latest), I had the freedom to configure my project step by step during installation. Now, with vite_ruby, it seems to automate and take control of everything, and I'm unsure how to customize or adapt the setup in the same way.
Could anyone provide guidance or point me to resources that explain how to integrate shadcn/ui with a Rails + Vite setup, especially when there’s no tsconfig.json file? And how can I get back some of the flexibility I had with the native Vite tool?
Beta Was this translation helpful? Give feedback.
All reactions