I have a full Web App that I built and I would like to make a native app for IOS and Android out of it. It is currently fully written using Typescript, HTML, CSS and a few lines of pure JS using Angular 7 framework. Not sure where to start, will I need to re-write most of my modules? Will my router and login using JWT still work etc? Could someone point me out in the right direction please.
Bumping if anyone can help me.
in short. Yes, you can.
You can use ionic as starting point for example. If you havent, then maybe install first nvm https://github.com/coreybutler/nvm-windows and use it for switching between different node version.
Install a lts version of node. If you on windows, then this will also install npm. https://nodejs.org/en/download/
install ionic, how described in the docs https://beta.ionicframework.com/docs/installation/cli#install-the-ionic-cli. For example
$ ionic start myapp tabs --type=angular
change in commandline into myapp folder.
If you wanna make a pwa you need a global installed angular/cli
npm install -g @angular/cli
Install serviceworker. This makes also all entrys for your pwa. https://ionictheme.com/create-a-pwa-in-ionic4-using-angular/
ng add @angular/pwa --project myapp
Do you need native whatever. You can use old stable cordova or newer beta capacitor. For capacitor see docs https://capacitor.ionicframework.com/docs/getting-started/ and install it like
npm install --save @capacitor/core @capacitor/cli
init and add platforms see docs.
Add step by step your code from your web app.
Maybe I forgot something, but I am sure you take before a look to the docs.
Best regards, anna-liebt