Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document that you can pass vite flags when running ionic capacitor run android -l --external #7201

Closed
3 tasks done
rodpatulski opened this issue Jan 20, 2024 · 2 comments
Closed
3 tasks done

Comments

@rodpatulski
Copy link

Description

Document that running a command like this is possible 'ionic capacitor run android -l --external -- --mode staging'

Platforms

  • iOS
  • Android
  • Web

Request or proposed solution

I struggled to find a way to pass in vite flags when running ionic capacitor run android -l --external The only way I figured out that you can use '--' was to use chatgpt and passing flags like 'mode' to vite can be done with ionic capacitor run android -l --external -- --mode staging

Alternatives

No response

Additional Information

If there's already documentation for this , please let me know where as I could not find it anywhere.

@jcesarmobile
Copy link
Member

This repository is for Capacitor project, you are referring to Ionic CLI commands.

It's documented for a few commands such as serve, which ionic capacitor run runs under the hood when using --livereload option.

@jcesarmobile jcesarmobile closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2024
Copy link

ionitron-bot bot commented Feb 21, 2024

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Feb 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants