You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposal to add a cli option that enables us to install 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".
Alternatives
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Description
Proposal to add a cli option that enables us to install 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"
.Alternatives
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: