shadcn-ui / ui

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
https://ui.shadcn.com
MIT License
75.7k stars 4.76k forks source link

npm library example that works with CSR and Nextjs? #1519

Closed Jared-Dahlke closed 9 months ago

Jared-Dahlke commented 1 year ago

Have you considered creating an example NPM library that uses ShadCN?

I've been trying over the past couple of weeks to use ShadCN in a custom NPM package that works in a Vite app and a Nextjs app, but can't quite get the tailwind to convert over properly.

The example out there right now does not work with NextJS: https://github.com/rajeshdavidbabu/shadcn-ui-lib-starter (this does not work with NextJS, see https://github.com/rajeshdavidbabu/shadcn-ui-lib-starter/issues/1)

Does anyone know of a good strategy or example out there?

shadcn commented 9 months ago

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.