From 7b07e26fd1eae324d9562db587995aa06fe495d2 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 3 Apr 2024 12:58:14 +0100 Subject: [PATCH] docs: use new `nuxi module add` command in installation --- docs/content/1.getting-started/1.quick-start.md | 13 ++----------- docs/content/1.index.md | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/docs/content/1.getting-started/1.quick-start.md b/docs/content/1.getting-started/1.quick-start.md index 92489218..2fbc96d1 100755 --- a/docs/content/1.getting-started/1.quick-start.md +++ b/docs/content/1.getting-started/1.quick-start.md @@ -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. diff --git a/docs/content/1.index.md b/docs/content/1.index.md index de1bc920..4c8d2802 100755 --- a/docs/content/1.index.md +++ b/docs/content/1.index.md @@ -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