modern.js icon indicating copy to clipboard operation
modern.js copied to clipboard

[Feature]: Plugin for shadcn/ui

Open raolak opened this issue 1 year ago • 3 comments

What problem does this feature solve?

shadcn/ui is a popular Design system and providers out of the box components,. It would be great if we can add shadcn-ui@latest init support which can provides tooling for initial setup and managing components

What does the proposed API look like?

support shadcn-ui@latest init

raolak avatar Jun 19 '24 06:06 raolak

Why not directly add it as a dependency? shadcn doesn't involve any compile time stuff, so I suspect if it should be added. BTW I am currently using it with modern.js fluently.

yf-yang avatar Jul 16 '24 04:07 yf-yang

Hi Yang

This is sorted.! It's working for me. I can have a document for this.

_lnr

On Tue, Jul 16, 2024 at 10:13 AM yf-yang @.***> wrote:

Why not directly add it as a dependency? shadcn doesn't involve any compile time stuff, so I suspect if it should be added. BTW I am currently using it with modern.js fluently.

— Reply to this email directly, view it on GitHub https://github.com/web-infra-dev/modern.js/issues/5851#issuecomment-2230009129, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGPZOMRMO2BLFZRA36ZUM3ZMSQHRAVCNFSM6AAAAABJRNPGC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZQGAYDSMJSHE . You are receiving this because you authored the thread.Message ID: @.***>

raolak avatar Jul 16 '24 05:07 raolak

Also

In with pnpm run dev , I am able to module federation working. But I am not sure how to get it working for production setup. I am planning to containerise and deploy in k8s.

Any documentation or help is really appreciated !

Thank you lnr

On Tue, Jul 16, 2024 at 11:24 AM Lakshminarayan Rao < @.***> wrote:

Hi Yang

This is sorted.! It's working for me. I can have a document for this.

_lnr

On Tue, Jul 16, 2024 at 10:13 AM yf-yang @.***> wrote:

Why not directly add it as a dependency? shadcn doesn't involve any compile time stuff, so I suspect if it should be added. BTW I am currently using it with modern.js fluently.

— Reply to this email directly, view it on GitHub https://github.com/web-infra-dev/modern.js/issues/5851#issuecomment-2230009129, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGPZOMRMO2BLFZRA36ZUM3ZMSQHRAVCNFSM6AAAAABJRNPGC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZQGAYDSMJSHE . You are receiving this because you authored the thread.Message ID: @.***>

raolak avatar Jul 16 '24 05:07 raolak

I will add some docs for module federation in modern.js website. now you can refer to module federation website to get some info

zllkjc avatar Sep 19 '24 10:09 zllkjc