Skip to content

Commit 0c6de92

Browse files
authored
fix(docs): rename buildModules to modules (#263)
buildModules was deprecated in Nuxt 3
1 parent f9fa58b commit 0c6de92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/2.setup.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Add `@nuxtjs/strapi` dev dependency to your project:
1818
```
1919
::
2020

21-
Then, add `@nuxtjs/strapi` to the [`buildModules`](https://v3.nuxtjs.org/docs/directory-structure/nuxt.config#buildmodules) section of your Nuxt configuration:
21+
Then, add `@nuxtjs/strapi` to the [`modules`](https://v3.nuxtjs.org/api/configuration/nuxt.config#modules) section of your Nuxt configuration:
2222

2323
```ts [nuxt.config.js|ts]
2424
export default {
25-
buildModules: ['@nuxtjs/strapi'],
25+
modules: ['@nuxtjs/strapi'],
2626
strapi: {
2727
// Options
2828
}

0 commit comments

Comments
 (0)