1 parent 611a5c1 commit 86afc5fCopy full SHA for 86afc5f
1 file changed
README.md
@@ -29,19 +29,21 @@
29
yarn add @nuxtjs/sanity # or npm install @nuxtjs/sanity
30
```
31
32
-2. Add `@nuxtjs/sanity/module` to the `buildModules` section of `nuxt.config.js`
+2. Add `@nuxtjs/sanity` to the `modules` section of `nuxt.config.ts`
33
34
```js
35
{
36
- buildModules: [
37
- '@nuxtjs/sanity/module',
+ modules: [
+ '@nuxtjs/sanity',
38
],
39
sanity: {
40
// module options
41
}
42
43
44
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
+
47
## Development
48
49
1. Clone this repository
0 commit comments