shadcn/ui

shadcn/ui 是一个开源的精美组件集,使用 Tailwind CSS 构建,您可以将其复制并粘贴到您的应用程序中。

要在新的 monorepo 中开始使用 shadcn/ui,请运行

终端
pnpm dlx shadcn@canary init

当出现提示时,请选择 monorepo 选项。

要添加组件,请运行

终端
pnpm dlx shadcn@canary add [COMPONENT]

更多信息

要了解更多关于在 Turborepo 中使用 shadcn/ui 的信息,请访问 shadcn/ui 的文档