There are scenarios/requirements in Web development when you need to create an Android app of existing Web Applications.
For Example: if you have an online eCommerce website you might need an android/ios native app as well.
This Blog Post provides a simple solution to overcome the challenge by converting an Angular Web App into an Ionic Mobile App.
The first step in the process is to create a new Angular project using the CLI
ng new my-fullstack-app
Moving into the project directory
The second step includes adding Ionic to your newly created angular project which can be done using the following command
ng add @ionic/angular
Once you have successfully added ionic to your project the third and most important step is to initialize your ionic project which can be done using the following command
Note: Your Ionic project name should be the same as your angular project name. In my case, I have given the same name
my-fullstack-appto both projects
Now you can use the following command to create an Android apk
ionic cordova run android --project="my-fullstack-app"
Your Ionic App is ready 😎.
Special Thanks to my Broski Abhishek Shergar
That's all folks....