1
0

main.ts 569 B

1234567891011121314
  1. import { bootstrapApplication } from '@angular/platform-browser';
  2. import { RouteReuseStrategy, provideRouter, withPreloading, PreloadAllModules } from '@angular/router';
  3. import { IonicRouteStrategy, provideIonicAngular } from '@ionic/angular/standalone';
  4. import { routes } from './app/app.routes';
  5. import { AppComponent } from './app/app.component';
  6. bootstrapApplication(AppComponent, {
  7. providers: [
  8. { provide: RouteReuseStrategy, useClass: IonicRouteStrategy },
  9. provideIonicAngular(),
  10. provideRouter(routes, withPreloading(PreloadAllModules)),
  11. ],
  12. });