Config service

This service lets you configure and set up app-specific preferences.

To customize the look and feel of the app across platforms or within the same platform for various components, we use the config service.

To understand this service better, we will scaffold a new app and work with it. Run the following:

ionic start -a "Example 10" -i app.example.ten example10 tabs --v2

And then run ionic serve --lab.

This will run the tabs app in the lab view, where we can see the Android iOS and Windows apps side by side.

We can view the Ionic app in any of the three platform views by using the following URLs as well: iOS: http://localhost:8100/?ionicplatform=iosAndroid: http://localhost:8100/?ionicplatform=androidWindows: http://localhost:8100/?ionicplatform=windows ...

Get Learning Ionic - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.