docs: add missing parentheses in the alias example (#4995)

* docs(api): improving the parentheses of the `alias` examples in`nuxt.config`

* docs: revert change

Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
Dominik Opyd 2022-05-18 08:15:38 +02:00 committed by GitHub
parent cd37a21c2e
commit f0dbc951e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -519,9 +519,9 @@ export default {
* ```js
* export default {
* alias: {
* 'images': fileURLToPath(new URL('./assets/images', import.meta.url),
* 'style': fileURLToPath(new URL('./assets/style', import.meta.url),
* 'data': fileURLToPath(new URL('./assets/other/data', import.meta.url)
* 'images': fileURLToPath(new URL('./assets/images', import.meta.url)),
* 'style': fileURLToPath(new URL('./assets/style', import.meta.url)),
* 'data': fileURLToPath(new URL('./assets/other/data', import.meta.url))
* }
* }
* ```