Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: use new nuxi module add command in installation #407

Merged
merged 3 commits into from
Apr 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions docs/content/2.setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,10 @@ description: Learn how to setup strapi module in your Nuxt 3 application.
## Installation

Add `@nuxtjs/strapi` dev dependency to your project:
benjamincanac marked this conversation as resolved.
Show resolved Hide resolved

::code-group

```bash [pnpm]
pnpm add @nuxtjs/strapi
```

```bash [yarn]
yarn add @nuxtjs/strapi
```bash
npx nuxi@latest module add strapi
```

```bash [npm]
npm install @nuxtjs/strapi
```

::

Then, add `@nuxtjs/strapi` to the [`modules`](https://nuxt.com/docs/api/configuration/nuxt-config#modules) section of your Nuxt configuration:
benjamincanac marked this conversation as resolved.
Show resolved Hide resolved

```ts [nuxt.config.ts]
Expand Down
Loading