From 75d10d5b8e3135d9897131450aac676ffe3fbd13 Mon Sep 17 00:00:00 2001 From: Jonathan Wilke Date: Thu, 4 Apr 2024 14:34:38 +0200 Subject: [PATCH] docs: add documentation for aliases.ui (#466) --- apps/www/src/content/docs/components-json.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/apps/www/src/content/docs/components-json.md b/apps/www/src/content/docs/components-json.md index 75ce9598..84473bda 100644 --- a/apps/www/src/content/docs/components-json.md +++ b/apps/www/src/content/docs/components-json.md @@ -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" + } +} +```