I'm new to these technologies so forgive me if some of my questions don't make sense!
I have to develop both a web app and a mobile app for my company. I was thinking about Ionic 2 since it uses Angular 2, and I would like to share code between the web-app I'll build with angular 2 and the mobile app with Ionic 2 since they'll do almost the same things.
How should I do that? I'd like to keep the logic of the application the same, and I would just modify something about the UI. Thank you!
You're in luck.
With Ionic 2 (Angular 2) you can just simply take all the code from the www
folder and place it on your web server and you're done.
Sure, you may tweak styling a bit, but then again it's not mandatory.
Truth be told, this can be done with Ionic 1 as well. However, it's not officially supported, but with Ionic 2 it is.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With