Skip to content

Commit

Permalink
Revert "fix(docs): added missing package manager tab (#3631)" (#3646)
Browse files Browse the repository at this point in the history
This reverts commit bd2b9a1.
  • Loading branch information
jrgarciadev authored Aug 12, 2024
1 parent bd2b9a1 commit bff6b36
Show file tree
Hide file tree
Showing 7 changed files with 11,562 additions and 14,923 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.x
16.x
317 changes: 3 additions & 314 deletions apps/docs/components/icons/sponsors.tsx

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions apps/docs/components/marketing/sponsors.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import {Button, Link} from "@nextui-org/react";

import {sectionWrapper} from "@/components/primitives";
import {
Story2DesignLogo,
ReplexicaLogo,
CodeRabbitLogo,
ScrumbuissLogo,
} from "@/components/icons/sponsors";
import {Story2DesignLogo, ReplexicaLogo, CodeRabbitLogo, ScrumbuissLogo} from "@/components/icons/sponsors";
import {HeartFilledIcon} from "@/components/icons";
import {siteConfig} from "@/config/site";
import {Sponsor, SponsorItem} from "@/components/marketing/sponsor-item";
Expand Down
37 changes: 12 additions & 25 deletions apps/docs/content/docs/guide/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,11 @@ 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 running the following command:
Alternatively, you can use the `CLI` without a global installation by employing `npx`:

<PackageManagers
commands={{
npm: "npx nextui-cli@latest",
yarn: "yarn dlx nextui-cli@latest",
pnpm: "pnpm dlx nextui-cli@latest",
bun: "bunx nextui-cli@latest",
}}
/>
```bash
npx nextui-cli@latest
```

</Steps>

Expand Down Expand Up @@ -118,24 +113,16 @@ You will be prompted to configure your project:
```

Install the dependencies to start the local server:
<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",
}}
/>

```codeBlock bash
cd my-nextui-app && npm install
```

Start the local server:
<PackageManagers
commands={{
npm: "npm run dev",
yarn: "yarn run dev",
pnpm: "pnpm run dev",
bun: "bun run dev",
}}
/>

```codeBlock bash
npm run dev
```

## add

Expand Down
22 changes: 6 additions & 16 deletions apps/docs/content/docs/guide/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,14 @@ You will be prompted to configure your project:
```

Install the dependencies to start the local server:
<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",
}}
/>
```codeBlock bash
cd my-nextui-app && npm install
```

Start the local server:
<PackageManagers
commands={{
npm: "npm run dev",
yarn: "yarn run dev",
pnpm: "pnpm run dev",
bun: "bun run dev",
}}
/>
```codeBlock bash
npm 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:

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
},
"engines": {
"node": ">=16.x",
"pnpm": ">=9.x"
"pnpm": ">=8.x"
},
"packageManager": "pnpm@9.6.0"
"packageManager": "pnpm@8.7.0"
}
Loading

0 comments on commit bff6b36

Please sign in to comment.