Display spinner component during bootstrapApplication provideAppInitializer

Discussão em 'Angular' iniciado por Wouter Vandenputte, Junho 30, 2025.

  1. This question is similar to Angular - How to show waiting indicator while app is loading using APP_INITIALIZER but for the new Angular standalone paradigm.

    In my main.ts file, I can add some provideAppInitializer's. But how can I display a spinning component while this is busy?

    At best what I can find is adding some old-school HTML/CSS to the index.html file, but for uniformity I want to display my own <my-spinner> component which is not possible in the index file as it is resides outside of the angular framework.

    Continue reading...

Compartilhe esta Página