Topic: custom module - directive not found
eli@quickode.com asked 7 years ago
Magdalena Obalska answered 7 years ago
eli@quickode.com commented 7 years ago
Hi I uploaded a test application https://drive.google.com/open?id=0B1VaLhbO5IQCVHlHRWFMUkFEdkk you can see that the “te” component can’t use any mdb directive. Thankseli@quickode.com answered 7 years ago
Edyta Dabrowska answered 7 years ago
import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
And then here:
@NgModule({
declarations: [TeComponent],
imports: [
BrowserModule,
BrowserAnimationsModule,
MDBBootstrapModule
],
schemas: [NO_ERRORS_SCHEMA]
})
Second thing, I'm only guessing that you have created a new project. And I see there is missing typescripts folder from your app folder. Please copy paste it from your bought MDB Angular package.
Let me know if it works now. FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No