npx gluestack-ui initUsage: npx gluestack-ui init [options]
initialize your gluestack-ui and install dependencies
Options:
--path <path> Path to add GluestackUIProvider, defaults to components/ui in the current directory.npx gluestack-ui add [component]Usage: npx gluestack-ui add [component] [options]
add component to your project
Options:
--all Adds all existing components from gluestack-ui
--path <path> Path to add components, defaults to the directory where GluestackUIProvider is located.
--use-npm Set npm as the project's package manager, default
--use-yarn Set yarn as the project's package manager
--use-bun Set bun as the project's package manager
--use-pnpm Set pnpm as the project's package manager, currently not supported in react-native-cli projects.npx gluestack-ui init{
"tailwind": {
"config": "tailwind.config.js",
}
}
{
"tailwind": {
"css": "global.css"
}
}
{
"app": {
"entry": "app/_layout.tsx",
}
}
{
"app": {
"components": "components/ui",
}
}