- Hybrid Mobile Development with Ionic
- Gaurav Saini
- 113字
- 2021-07-02 23:53:52
Running application on devices
The ionic run command helps in running the application with the connected device:
$ ionic cordova:run [options] <PLATFORM>
$ ionic cordova:run android
There is also an option of Emulate. Emulate an
Ionic
project on a simulator or emulator.
$ ionic cordova:emulate [options] <PLATFORM>
The list of available tasks has been increasing in Ionic CLI. The best way to get in touch with all the latest tasks with extended details can be found by using ionic --help:
$ ionic--help
This will list all the tasks with options and flags for each. You can easily try them all on a test project and this will help you understanding them more closely.