Shadcn Integration #551
-
Hello, I'm trying to get shadcn installed with my electron-vite project. I've been struggling for hours trying to get the paths to resolve and fix the typescript errors. Any help is greatly appreciated. I've been using the shadcn Vite docs as they are the closest to the electron setup: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I am using it with shadcn without any problems, but don't expect the shadcn CLI to work with this setup because the CLI expects vite.config.ts, while this project uses electron.vite.config.ts. You can check out this repository I made to demonstrate how to use electron-vite with shadcn. |
Beta Was this translation helpful? Give feedback.
I am using it with shadcn without any problems, but don't expect the shadcn CLI to work with this setup because the CLI expects vite.config.ts, while this project uses electron.vite.config.ts. You can check out this repository I made to demonstrate how to use electron-vite with shadcn.