Hey guys,
i’m trying to convert my ionic app into a PWA with ng add @angular/pwa but I always get back the following:
-Bootstrap call not found.
Can anyone help me?
Hey guys,
i’m trying to convert my ionic app into a PWA with ng add @angular/pwa but I always get back the following:
-Bootstrap call not found.
Can anyone help me?
I have the same issue
i have the same problem
Hello, i have a solution.
import { routes } from ‘./app/app.routes’;
import { AppComponent } from ‘./app/app.component’;
import { environment } from ‘./environments/environment’;
import { platformBrowserDynamic } from ‘@angular/platform-browser-dynamic’;
if (environment.production) {
enableProdMode();
}
// bootstrapApplication(AppComponent, {
// providers: [
// { provide: RouteReuseStrategy, useClass: IonicRouteStrategy },
// importProvidersFrom(IonicModule.forRoot({})),
// provideRouter(routes),
// ],
// });
platformBrowserDynamic().bootstrapModule(AppComponent)
.catch(err => console.error(err));