Angular besteht darauf, dass ich standalone = true hinzufüge, obwohl Angular 19 verwendet wird
Posted: 13 Jan 2025, 20:13
Meine Winkelkonfiguration:
Aber meiner Meinung nach besteht Intellij darauf, dass alle Komponenten mit standalone = true markiert werden?
Warum ist das so?

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)]
};
Warum ist das so?
