Page 1 of 1

Angular besteht darauf, dass ich standalone = true hinzufüge, obwohl Angular 19 verwendet wird

Posted: 13 Jan 2025, 20:13
by Guest
Meine Winkelkonfiguration:

Code: Select all

@Component({
selector: 'app-root',
imports: [RouterOutlet, JsonPipe, HeadComponent],
templateUrl: './app.component.html',
styleUrl: './app.component.scss'
})
export class AppComponent {

bootstrapApplication(AppComponent, appConfig)
.catch((err) => console.error(err));

export const appConfig: ApplicationConfig = {
providers: [
provideZoneChangeDetection({ eventCoalescing: true }),
provideRouter(routes)]
};
Aber meiner Meinung nach besteht Intellij darauf, dass alle Komponenten mit standalone = true markiert werden?
Warum ist das so?
Image