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

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

Post 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

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post