Getting Started
Installation
Using npx (Recommended)
No installation required. Use directly with npx:
npx expo-app-ui <command>Global Installation
Install globally for easier access:
npm install -g expo-app-ui
expo-app-ui <command>Quick Start
Add a component to your project:
npx expo-app-ui add custom-textPath Aliases
Make sure your project has path aliases configured.
tsconfig.json
{
"compilerOptions": {
"paths": {
"@/*": ["./*"]
}
}
}babel.config.js
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
[
'module-resolver',
{
root: ['./'],
alias: {
'@': './',
},
},
],
],
};
};Auto-Dependency Detection
The CLI automatically detects when a component requires:
normalizeSizehelperthemeconstants- Related components or contexts
These dependencies are automatically added to your project if they don’t already exist.