The issue persists with clr-column clr-row, despite importing ClarityModule correctly.
import { GestionFournisseursComponent } from './gestion-fournisseurs/gestion-fournisseurs.component';
import {ClarityModule} from '@clr/angular';
@NgModule({
declarations: [GestionFournisseursComponent],
imports: [
CommonModule,
ReferentielRoutingModule,
ClarityModule
]
})
export class ReferentielModule { }
HTMl:
<clr-datagrid></clr-datagrid>
Error:
Error: src/app/main/referentiel/gestion-fournisseurs/gestion-fournisseurs.component.html:2:1 - error NG8001: 'clr-datagrid' is not a known element:
- If 'clr-datagrid' is an Angular component, then verify that it is part of this module.
- If 'clr-datagrid' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
2
src/app/main/referentiel/gestion-fournisseurs/gestion-fournisseurs.component.ts:6:16
6 templateUrl: './gestion-fournisseurs.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component GestionFournisseursComponent.
I attempted importing the ClarityDatagridModule exclusively, reinstalled clarity, angular, dependencies, but the same error persists. Any assistance would be greatly appreciated.
Thank you in advance.