I have configured ngx-spinner as described in the guide, but when I add the service to the component and call the show() method, the spinner is not displayed
In my component
constructor(
private accountService: AccountService,
private loginService: LoginService,
private router: Router,
private spinner: NgxSpinnerService
) {}
ngOnInit(): void {
// if already authenticated then navigate to home page
this.spinner.show();
}
I have configured ngx-spinner as described in the guide, but when I add the service to the component and call the show() method, the spinner is not displayed
In my component
in my root html
Any ideas why the spinner is not displayed I use version 14.0.0 as indicated in the guide