0
votes

I want to use the Ionic 2 app I build as web app (progressive web app). But I want to when build, it will ONLY use android material design. Right now in localhost by running Ionic serve, the result on my browser is random - sometimes it looks like Apple with tabs at the bottom, and sometimes it looks Android with tab up top.

How can I build the app to make sure the output www folder will ONLY use Android style. And I can deploy the build as a website (run on desktop with no Cordova stuffs)?

1

1 Answers

2
votes

You should be able to set the mode prop in the config options when you bootstrap your app in app.ts:

ionicBootstrap(MyApp, [SomeProviders], {mode: 'md'});