我正在使用ng2-fullcalendar实现日历事件,我安装npm install angular2-fullcalendar --save
并按照所有步骤导入
日历.module.ts
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NgaModule } from '../../../theme/nga.module';
import { ValidationService } from '../../../services/validators/validation.service';
import { Calender } from './calender.component';
import { routing } from './calender.routing';
import { CalendarComponent } from "angular2-fullcalendar/src/calendar/calendar";
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule,
NgaModule,
routing,
],
declarations: [
Calender,
CalendarComponent
]
})
export default class CalenderModule { }
但它仍然显示来自 angular2-fullcalendar 的意外值 CalendarComponent 错误,请帮助我。