Closed ioannist closed 4 years ago
Thanks for reporting. Will fix it for the next release
Could we have at npm a next version like angular have? Angular 9 is around the corner with RC9 and it would be nice having it rolling before that.
Hi, any news ?
@zepekenio super busy at the moment, but should have some free time coming up to fix this.
from what I saw is just an import problem now it must be imported for each component used separately
Hello since Angular 9 is out, is there any news on this issue ?
Part of the fix I believe is to change the @angular/material imports and add a Type to ModuleWith Providers in module:
import {MatButtonModule} from '@angular/material/button'
import { MatProgressBarModule } from '@angular/material/progress-bar'
import {MatRippleModule} from '@angular/material/core';
import { MatIconModule } from '@angular/material/icon';
import {MatProgressSpinnerModule} from '@angular/material/progress-spinner';
export class MatProgressButtonsModule {
static forRoot(): ModuleWithProviders<MatProgressButtonsModule> {
return {
ngModule: MatProgressButtonsModule
};
}
}
@lucabrasi83 Could you provide a PR to accelerate the process?
@michaeldoye: I created a PR with the Angular 9 update. Would be happy if you could have a look as it's a blocker for several of my projects. Thanks :)
Thank you to @lujakob! The new version is now available. Apologies for the delay, and thank you for the patience. <3
Getting the error: ERROR in Cannot resolve type entity ɵngcc4.MatButtonModule to symbol
when using Angular Material ^9.0.0-rc.4
It's an easy fix... Components can no longer be imported through @angular/material. Use the individual secondary entry-points, such as @angular/material/button.