title: How to set rootPage in IONIC 4
body: <p>This is what i have now and really can't seem to find the right answer to my question i've looked everywhere so maybe someone that knows can help me?. How do i set RootPage like in ionic 3 into Ionic 4 because i tried everything and this is what is left with trying</p>
  
  <pre><code>import {Component, ViewChild} from '@angular/core';
  import {NavController, Platform} from '@ionic/angular';
  import {SplashScreen} from '@ionic-native/splash-screen/ngx';
  import {StatusBar} from '@ionic-native/status-bar/ngx';
  import {Router} from '@angular/router';
  import {GettingStartedPage} from './getting-started/getting-started.page';
  
  @Component({
  selector: 'app-root',
  templateUrl: 'app.component.html',
  })
  
  export class AppComponent {
  @ViewChild(NavController) nav: NavController;
  rootPage;
  
  
  constructor(
      private platform: Platform,
      private splashScreen: SplashScreen,
      private statusBar: StatusBar,
      private NavCtrl: NavController) {
      this.initializeApp();
  }
  
  // Eindigt constructor
  
  initializeApp() {
      this.platform.ready().then(() =&gt; {
          this.splashScreen.hide();
          // set status bar naar onze app kleur
          this.statusBar.backgroundColorByHexString('#E84B56');
      });
  }
  
  openPage(page) {
      // Reset the content nav to have just this page
      // we wouldn't want the back button to show in this scenario
      this.rootPage.navigateRoot('/getting-started');
  
  }
  }
  </code></pre>