mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
docs: fix array syntax
This commit is contained in:
parent
d2c00dc467
commit
f14f3815ff
@ -81,10 +81,10 @@ Nuxt and Nuxt Modules are now build-time-only.
|
|||||||
|
|
||||||
```diff
|
```diff
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
modules: {
|
modules: [
|
||||||
- '~/modules/my-module'
|
- '~/modules/my-module'
|
||||||
+ '~/modules/my-module/index'
|
+ '~/modules/my-module/index'
|
||||||
}
|
]
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user