Ionic mobile app on existing angular 6 app

#1

Hi,

We have an existing complex angular 6 app with media queries for mobile , tablet and desktop browsers.
I’m looking to create a native mobile app based on this existing angular application but still keep existing design and styles on desktop browsers and (maybe) mobile browsers.

  1. What is the correct strategy in such use case ?
    How would you structure the project or build process?

As i understand to default way is to merge ionic into the existing angular app and convert all elements into ionic components. the problem is that means ionic components will be shown for web desktop users as well.

  1. Is there an official native app to demonstrate all of ionic awesome UI Components? I couldn’t find one…

Thanks
Jack

#2

Anyone has some input on my questions?

Thanks.

#3

Just install

"@ionic-native/core": "^5.0.0",
    "@ionic-native/splash-screen": "^5.0.0",
    "@ionic-native/status-bar": "^5.0.0",
    "@ionic/angular": "^4.0.0",
dev:
  "@ionic/angular-toolkit": "~1.3.0",

import the Module to the app.module
and have fun :slight_smile:

You also need to use then Cordova.

#4

Hi danielmm1997,

Thanks but i dont see how is your reply related to my questions…

#5

Can anyone provide some input?