Skip to content

Commit

Permalink
refactor(files): removed unnecessary files
Browse files Browse the repository at this point in the history
  • Loading branch information
awesome-pro committed Aug 10, 2024
1 parent 56725c2 commit 9d35f93
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 42 deletions.
35 changes: 10 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 commands:
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,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
```

## add

Expand Down
23 changes: 6 additions & 17 deletions apps/docs/content/docs/guide/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,25 +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

0 comments on commit 9d35f93

Please sign in to comment.