ionic-team / ionic-team/ionic-cli

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

Đang mở
#5,080 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

There is a small blurb on the 'capacitor serve' command:

> Options not listed below are considered advanced and can be passed to the Angular CLI using the -- separator after the Ionic CLI arguments. See the examples.

But that feels Angular CLI specific, and it doesn't really get to the point that vite flags CAN be passed in.

Linking the issue I tried to put in the capacitor cli but I was re-routed here.
https://github.com/ionic-team/capacitor/issues/7201

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.