import { bootstrapApplication } from "@angular/platform-browser"; import { provideRouter } from "@angular/router"; import { AppComponent } from "./app/app.component"; import { appRoutes } from "./app/app.routes"; bootstrapApplication(AppComponent,{ providers:[ provideRouter(appRoutes) ] }).catch(error => console.error(error));