by Guest » 13 Jan 2025, 20:13
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?

Meine Winkelkonfiguration:
[code]@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)]
};
[/code]
Aber meiner Meinung nach besteht Intellij darauf, dass alle Komponenten mit standalone = true markiert werden?
Warum ist das so?
[img]https://i.sstatic.net/GPj1jlpQ.png[/img]