Closed winni4eva closed 7 years ago
@winni4eva Indeed, AirDatepicker is not a module, it's a component :)
As described on the github page and in the package readme, you should include it in your module declarations:
import { NgModule } from "@angular/core";
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { MyComponent } from "./my.component";
import { AirDatepicker } from 'angular2-air-datepicker';
@NgModule({
imports: [
CommonModule,
FormsModule
],
declarations: [
MyComponent,
AirDatepicker
]
})
export class HomeModule {}
Thanks kesarion..