mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 01:53:55 +00:00
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:
parent
cd37a21c2e
commit
f0dbc951e6
@ -519,9 +519,9 @@ export default {
|
|||||||
* ```js
|
* ```js
|
||||||
* export default {
|
* export default {
|
||||||
* alias: {
|
* alias: {
|
||||||
* 'images': fileURLToPath(new URL('./assets/images', import.meta.url),
|
* 'images': fileURLToPath(new URL('./assets/images', import.meta.url)),
|
||||||
* 'style': fileURLToPath(new URL('./assets/style', import.meta.url),
|
* 'style': fileURLToPath(new URL('./assets/style', import.meta.url)),
|
||||||
* 'data': fileURLToPath(new URL('./assets/other/data', import.meta.url)
|
* 'data': fileURLToPath(new URL('./assets/other/data', import.meta.url))
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
|
Loading…
Reference in New Issue
Block a user