Skip to content

Commit 479fbb2

Browse files
authored
docs: use new nuxi module add command in installation (#479)
1 parent 7221916 commit 479fbb2

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

docs/content/1.getting-started/1.quick-start.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,9 @@ Get started by creating a quick demo with the [SpaceX GraphQL API](https://api.s
1010
## Setup
1111

1212
1. **Add `nuxt-graphql-client` dependency to your project**
13-
14-
::code-group
15-
```bash [Yarn]
16-
yarn add nuxt-graphql-client
13+
```bash
14+
npx nuxi@latest module add graphql-client
1715
```
18-
```bash [NPM]
19-
npm install nuxt-graphql-client
20-
```
21-
::
2216

2317
2. **Enable the module in your nuxt configuration**
2418

docs/content/1.index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cta:
1212
secondary:
1313
- Open on GitHub →
1414
- https://github.com/diizzayy/nuxt-graphql-client
15-
snippet: yarn add nuxt-graphql-client
15+
snippet: npx nuxi@latest module add graphql-client
1616
---
1717

1818
#title

0 commit comments

Comments
 (0)