Description
Proposal to add a cli option that enables us to install the component optimized for given target platform.
Problem Statement
Now when we install a component with CLI like npx gluestack-ui add button, the component will come with a lot of code to work on both web and native.
Sometimes we don't need it to work on web, in that case, we need to manually remove all web-related code.
Proposed Solution or API
So I want to propose the ability to install optimized code for given platform.
CLI would be something like npx gluestack-ui add button --platform "ios, android".
Description
Proposal to add a cli option that enables us to install the component optimized for given target platform.
Problem Statement
Now when we install a component with CLI like npx gluestack-ui add button, the component will come with a lot of code to work on both web and native.
Sometimes we don't need it to work on web, in that case, we need to manually remove all web-related code.
Proposed Solution or API
So I want to propose the ability to install optimized code for given platform.
CLI would be something like
npx gluestack-ui add button --platform "ios, android".