Ionic 4. Example of app.module.ts

Hi all ! Could anyone please show how should look app.module.ts in Ionic 4. I am trying to migrate from Ionic 3 to Ionic 4, but have a lot of mistakes … Where I need to declare my pages,plugins,providers,componets ?

ERROR in src/app/app.component.ts(3,25): error TS2307: Cannot find module ‘pages