Update components-json.md

Add docs for aliases.ui
This commit is contained in:
Jonathan Wilke 2024-04-04 14:31:05 +02:00 committed by GitHub
parent 8aa0e2a41d
commit 6dbb408b31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -146,3 +146,17 @@ Import alias for your components.
} }
} }
``` ```
### aliases.ui
Import alias for `ui` components.
The CLI will use the `aliases.ui` value to determine where to place your `ui` components. Use this config if you want to customize the installation directory for your `ui` components.
```json title="components.json"
{
"aliases": {
"ui": "@/app/ui"
}
}
```