Skip to content

Commit

Permalink
docs(nextjs): fix formatting issue with install command (#18800)
Browse files Browse the repository at this point in the history
  • Loading branch information
barbados-clemens authored Aug 24, 2023
1 parent 72fc94b commit cb35efa
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
15 changes: 11 additions & 4 deletions docs/generated/packages/next/documents/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,23 @@ To create a new Nx workspace with Next.js, run `npx create-nx-workspace@latest -

To add Next.js to an existing Nx workspace, install the `@nx/next` package. Make sure to install the version that matches your `@nx/workspace` version.

{% tabs %}
{% tab label="npm" %}

```shell
#yarn
yarn add --dev @nx/next
npm install --save-dev @nx/next
```

{% /tab %}
{% tab label="yarn" %}

```shell
#npm
npm install --save-dev @nx/next
yarn add --dev @nx/next
```

{% /tab %}
{% /tabs %}

### Creating Applications

You can add a new application with the following:
Expand Down
15 changes: 11 additions & 4 deletions docs/shared/packages/next/plugin-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,23 @@ To create a new Nx workspace with Next.js, run `npx create-nx-workspace@latest -

To add Next.js to an existing Nx workspace, install the `@nx/next` package. Make sure to install the version that matches your `@nx/workspace` version.

{% tabs %}
{% tab label="npm" %}

```shell
#yarn
yarn add --dev @nx/next
npm install --save-dev @nx/next
```

{% /tab %}
{% tab label="yarn" %}

```shell
#npm
npm install --save-dev @nx/next
yarn add --dev @nx/next
```

{% /tab %}
{% /tabs %}

### Creating Applications

You can add a new application with the following:
Expand Down

1 comment on commit cb35efa

@vercel
Copy link

@vercel vercel bot commented on cb35efa Aug 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app
nx-five.vercel.app
nx.dev

Please sign in to comment.