mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(docs): added missing package manager tabs in docs (#3650)
This commit is contained in:
parent
942cfc3a88
commit
cb7d7a27fe
@ -30,11 +30,16 @@ To install the `CLI` globally, execute one of the following commands in your ter
|
||||
|
||||
### Without Installation
|
||||
|
||||
Alternatively, you can use the `CLI` without a global installation by employing `npx`:
|
||||
Alternatively, you can use the `CLI` without a global installation by running the following command:
|
||||
|
||||
```bash
|
||||
npx nextui-cli@latest
|
||||
```
|
||||
<PackageManagers
|
||||
commands={{
|
||||
npm: "npx nextui-cli@latest",
|
||||
yarn: "yarn dlx nextui-cli@latest",
|
||||
pnpm: "pnpm dlx nextui-cli@latest",
|
||||
bun: "bunx nextui-cli@latest",
|
||||
}}
|
||||
/>
|
||||
|
||||
</Steps>
|
||||
|
||||
@ -114,15 +119,25 @@ You will be prompted to configure your project:
|
||||
|
||||
Install the dependencies to start the local server:
|
||||
|
||||
```codeBlock bash
|
||||
cd my-nextui-app && npm install
|
||||
```
|
||||
<PackageManagers
|
||||
commands={{
|
||||
npm: "cd my-nextui-app && npm install",
|
||||
yarn: "cd my-nextui-app && yarn install",
|
||||
pnpm: "cd my-nextui-app && pnpm install",
|
||||
bun: "cd my-nextui-app && bun install",
|
||||
}}
|
||||
/>
|
||||
|
||||
Start the local server:
|
||||
|
||||
```codeBlock bash
|
||||
npm run dev
|
||||
```
|
||||
<PackageManagers
|
||||
commands={{
|
||||
npm: "npm run dev",
|
||||
yarn: "yarn run dev",
|
||||
pnpm: "pnpm run dev",
|
||||
bun: "bun run dev",
|
||||
}}
|
||||
/>
|
||||
|
||||
## add
|
||||
|
||||
|
||||
@ -39,14 +39,24 @@ You will be prompted to configure your project:
|
||||
```
|
||||
|
||||
Install the dependencies to start the local server:
|
||||
```codeBlock bash
|
||||
cd my-nextui-app && npm install
|
||||
```
|
||||
<PackageManagers
|
||||
commands={{
|
||||
npm: "cd my-nextui-app && npm install",
|
||||
yarn: "cd my-nextui-app && yarn install",
|
||||
pnpm: "cd my-nextui-app && pnpm install",
|
||||
bun: "cd my-nextui-app && bun install",
|
||||
}}
|
||||
/>
|
||||
|
||||
Start the local server:
|
||||
```codeBlock bash
|
||||
npm run dev
|
||||
```
|
||||
<PackageManagers
|
||||
commands={{
|
||||
npm: "npm run dev",
|
||||
yarn: "yarn run dev",
|
||||
pnpm: "pnpm run dev",
|
||||
bun: "bun run dev",
|
||||
}}
|
||||
/>
|
||||
|
||||
Once your NextUI project is ready to develop, you can add individual components using the CLI. For example, to add a button component:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user