a few days ago I created a new ionic 7 app.
In the new app version there isn’t app.module file and in order to import my providers I used main.ts file
main.ts file conains this code:
bootstrapApplication(AppComponent, {
providers: [
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy }
],
});
In this file I import all my providers.
Today I created new App and the structure is changed. app.module file is present. main.ts file is changed. It contains:
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.log(err));
Please help me to understand.