Skip to content

Commit

Permalink
docs: use new nuxi module add command in installation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 3, 2024
1 parent 90f4765 commit 7b07e26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
13 changes: 2 additions & 11 deletions docs/content/1.getting-started/1.quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,9 @@ Integrate Nuxt Apollo into your project.
## Installation

1. Add the `@nuxtjs/apollo` development dependency.

::code-group
```bash [Yarn]
yarn add -D @nuxtjs/apollo@next
```
```bash [NPM]
npm i -D @nuxtjs/apollo@next
```bash
npx nuxi@latest module add apollo
```
```bash [pnpm]
pnpm add @nuxtjs/apollo@next --save-dev
```
::

2. Enable the module.

Expand Down
2 changes: 1 addition & 1 deletion docs/content/1.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cta:
secondary:
- Star on GitHub →
- https://github.com/nuxt-modules/apollo-module
snippet: yarn add -D @nuxtjs/apollo@next
snippet: npx nuxi@latest module add apollo
---

#title
Expand Down

0 comments on commit 7b07e26

Please sign in to comment.