uir.json
Configuration for your project.
uir.json is created by init and read by add. It only matters when you use the CLI; you don't need it to copy components by hand.
Example
uir.json
{
"$schema": "https://ui.codewithrabby.com/schema.json",
"framework": "expo",
"componentsDir": "src/components/uir",
"alias": "@/components/uir"
}Fields
| $schema | Points to the JSON schema, for autocomplete in your editor. |
| framework | The app type. Currently always "expo". |
| componentsDir | Folder that add copies components into, relative to the project root. |
| alias | Import path for that folder, used in the import hint after add. |