🌐 Nodejs.cn

如何安装依赖并构建你的应用。

快速开始

🌐 Quick Start

运行以下命令以使用 shadcn/ui 创建一个新项目:

🌐 Run the following command to create a new project with shadcn/ui:

pnpm dlx shadcn@latest init

这将指导你使用你偏好的框架、图标库和主题,创建一个带有 shadcn/ui 的新项目。

🌐 This will guide you through the process of creating a new project with shadcn/ui with your preferred framework, icon library, and theme.

选择你的框架

🌐 Pick Your Framework

首先选择你喜欢的框架。然后按照说明安装依赖并构建你的应用。shadcn/ui 被设计为可以与所有 React 框架一起使用。

🌐 Start by selecting your framework of choice. Then follow the instructions to install the dependencies and structure your app. shadcn/ui is built to work with all React frameworks.