Is there a way to use ngx-spinner in standalone angular apps?

Discussão em 'Angular' iniciado por Nelson Teixeira, Novembro 7, 2024.

  1. How do I use ngx-spinner in my standalone angular app ?

    There's no app.module to import it. I can't import it in the component itself because I get "Component imports must be standalone components, directives, pipes, or must be NgModule" error. And if I just declare it on constructor I get "'ngx-spinner' is not a known element" in the template.

    How do I use it in standalone apps ?

    Continue reading...

Compartilhe esta Página