Skip to content

Commit 86afc5f

Browse files
authored
docs: update install instructions
1 parent 611a5c1 commit 86afc5f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,21 @@
2929
yarn add @nuxtjs/sanity # or npm install @nuxtjs/sanity
3030
```
3131

32-
2. Add `@nuxtjs/sanity/module` to the `buildModules` section of `nuxt.config.js`
32+
2. Add `@nuxtjs/sanity` to the `modules` section of `nuxt.config.ts`
3333

3434
```js
3535
{
36-
buildModules: [
37-
'@nuxtjs/sanity/module',
36+
modules: [
37+
'@nuxtjs/sanity',
3838
],
3939
sanity: {
4040
// module options
4141
}
4242
}
4343
```
4444

45+
**Note**: For Nuxt 2 support without Bridge, install `@nuxtjs/sanity@0.10.0` and follow the instructions at https://v0.sanity.nuxtjs.org.
46+
4547
## Development
4648

4749
1. Clone this repository

0 commit comments

Comments
 (0)