I want to integraet shadcn-ui library into sharepoint framework . can you help us here?
I want to integraet shadcn-ui library into sharepoint framework . can you help us here?
I've worked with SharePoint, but never used shadcn/ui with it. So I asked v0 for some ideas (https://v0.dev/chat/kmWiKzo89U0). It seems like it could be tricky with some potential conflicts. Is there a specific problem you ran into?
Thanks for the reply!. I am facing chalanges when i ran 'npx shadcn-ui@latest add card' command. Below are the error details: npm ERR! code ENOENT npm ERR! syscall chmod npm ERR! path C:\Users\XYZ\AppData\Roaming pm-cache_npx\21808 ode_modules\shadcn-ui\dist\index.js npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\Users\XYZ\AppData\Roaming pm-cache_npx\21808 ode_modules\shadcn-ui\dist\index.js' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
: Thanks again. I am not using next js. will it be possible to integrate React alone with shadcn-ui instead of using next js?. we are using React with Spfx.
The shadcn/ui docs have installation steps and app structuring instructions for multiple frameworks here: https://ui.shadcn.com/docs/installation
I hope that helps!