'Not a known element' errors for Angular Components (Angular Material) exported from a shared module.
Answered
I have a `SharedModule` that contains a bunch of Angular components, including Angular Material, to be shared throughout my app. In Intellij 2018.1 Ultimate, I'm getting "Not a known element" syntax errors all over my HTML templates when using Angular Material components like <mat-form-field>.
I believe my module imports/exports are setup correctly, and the app is running without issue or errors. Is this an Intellij bug? Is there something that needs to be configured for the IDE to detect that this my module is using components from this SharedModule?
Please sign in to leave a comment.
Hello,
Please follow the related issue for updates: https://youtrack.jetbrains.com/issue/WEB-33427