Contents tagged with serve
today I want to document few usefull commands which are usefull in ionic 2.
If you need your app to be able to execute on some platform you can use following command:
ionic platform add xxx
Where xxx stands for name of platform. It can have following values: windows, android, ios
If you want to run app in emulator, use the following command:
this command will execute your app in default browser.
ionic run android
this command will deploy app on your android device and execute it there
ionic generate page specialPage
this command will generate for you page specialPage with html, scss and ts file. For example when I … more