Skip to content

Commit

Permalink
docs: use new nuxi module add command in installation (#983)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 3, 2024
1 parent 02ae90e commit bcb5b79
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
1. Add `@nuxtjs/sanity` dependency to your project

```bash
yarn add @nuxtjs/sanity # or npm install @nuxtjs/sanity
npx nuxi@latest module add sanity
```

2. Add `@nuxtjs/sanity` to the `modules` section of `nuxt.config.ts`
Expand Down
12 changes: 3 additions & 9 deletions docs/content/1.getting-started/1.quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,9 @@ v1 of this module works with Nuxt 3 and Nuxt Bridge. If you are looking for the
## Setup

1. **Install Sanity integration**

::code-group
```bash [Yarn]
yarn add @nuxtjs/sanity
```
```bash [NPM]
npm install @nuxtjs/sanity --save
```
::
```bash
npx nuxi@latest module add sanity
```

2. **Enable the module in your Nuxt configuration**

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:
- Open on GitHub →
- https://github.com/nuxt-modules/sanity
snippet: yarn add @nuxtjs/sanity
snippet: npx nuxi@latest module add sanity
---

#title
Expand Down

0 comments on commit bcb5b79

Please sign in to comment.