ionic using a cheat:
1. commonly used commands:
ionic -v View version
ionic start myionictest blank // create a blank project
ionic start myionictest tabs // create a project with navigation bar
ionic start myionictest sidemenu // create a project with sliding menu
ionic g page YourPageName // Create a new page
ionic g directive YourPageName // Create a command
ionic g component YourComponentName // Create the component
ionic g provider YourProviderName // create a service
ionic g pipe YourPipeName // Create a filter
ionic platform add android // add android platform
ionic platform removeandroid // delete android platform
ionic serve // start commissioning services
ionic cordova resources // generate resources pictures
ionic cordova build android // packaged apk --prod increased compression. Small fast access
Use ionic4 create ionic3 project: Ionic Start-name tabs --type = Angular Ionic
2. The application icon and splash screen replacement:
Minimum application icon to 1024px 1024px size, at least to start icon 2208px 2208px, should png format it.
After doing pictures, we put an icon named icon.png, these two pictures into the project resources folder directory, and then execute the command in the terminal:
Ionic cordova resources -icon
APP modified name: config.xml file modification name tag
Note: ionic cordova resources command will default icons and pictures are starting to generate different sizes of images, as if each generation can be performed ionic cordova resources -icon generation icon, the implementation of ionic cordova resources -splash start generating Pictures