Topic: custom module - directive not found
eli@quickode.com free asked 7 years ago
Edyta Dabrowska free 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.
eli@quickode.com free answered 7 years ago
Magdalena Obalska free answered 7 years ago
eli@quickode.com free 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. ThanksFREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No