# shadcn-ui/ui

{% code title="components.json" overflow="wrap" lineNumbers="true" %}

```json
{
  "tailwind": {
    "config": "tailwind.config.js" | "tailwind.config.ts"
  }
}
```

{% endcode %}

### rsc <a href="#rsc" id="rsc"></a>

Có bật hỗ trợ cho các Thành phần máy chủ React hay không.

### tsx <a href="#tsx" id="tsx"></a>

Chọn giữa các thành phần TypeScript hoặc JavaScript.

### aliases <a href="#aliases" id="aliases"></a>

CLI sử dụng các giá trị này và cấu hình đường dẫn từ tệp `tsconfig.json` hoặc `jsconfig.json` của bạn để đặt các thành phần được tạo vào đúng vị trí.

#### aliases.utils <a href="#aliasesutils" id="aliasesutils"></a>

Nhập bí danh cho các chức năng tiện ích của bạn.

{% code title="components.json" overflow="wrap" lineNumbers="true" %}

```json
{
  "aliases": {
    "utils": "@/lib/utils"
  }
}
```

{% endcode %}

#### aliases.components <a href="#aliasescomponents" id="aliasescomponents"></a>

Nhập bí danh cho các thành phần của bạn.

{% code title="components.json" overflow="wrap" lineNumbers="true" %}

```json
{
  "aliases": {
    "components": "@/components"
  }
}
```

{% endcode %}

#### aliases.ui <a href="#aliasesui" id="aliasesui"></a>

Nhập bí danh cho các thành phần `ui`.

CLI sẽ sử dụng giá trị `aliases.ui` để xác định vị trí đặt các thành phần `ui` của bạn. Sử dụng cấu hình này nếu bạn muốn tùy chỉnh thư mục cài đặt cho các thành phần `ui` của mình.

{% code title="components.json" overflow="wrap" lineNumbers="true" %}

```json
{
  "aliases": {
    "ui": "@/app/ui"
  }
}
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blogs.nhquydev.net/open-source/shadcn-ui-ui.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
