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

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Angular besteht darauf, dass ich standalone = true hinzufüge, obwohl Angular 19 verwendet wird

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?
Image

Top