docs: fix components path (#19163)

This commit is contained in:
usagizmo 2023-02-20 18:53:40 +09:00 committed by GitHub
parent cbe2ed6e3b
commit fc19021022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,8 +34,8 @@ By default, only the `~/components` directory is scanned. If you want to add oth
```js
export default defineNuxtConfig({
components: [
{ '~/components/special-components', prefix: 'Special' },
'~/components',
{ path: '~/components/special-components', prefix: 'Special' },
'~/components'
]
})
```