How to Configure Side Menu when using LazyLoading

Good day, I am new to Ionic. I am trying to use LazyLoading for my components but when i created a new ionic project with a sidebar.
pages: Array<{title: string, component: any}>; constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen) { this.initializeApp(); // used for an example of ngFor and navigation this.pages = [ { title: 'Home', component: HomePage }, { title: 'List', component: ListPage } ]; }

I really need help on how to make the pages array load with LazyLoader

Thanks guys. I figured it out!

How you did it? @emrade