是否有任何人已经获得PrimeNG计划工作webpack angular 2应用程序?像
this橡木一样,我无法让它工作,不像他我还不能.
在我的vendor.ts中,我加载了所需的库:
require('script!../node_modules/jquery/dist/jquery.js'); require('script!../node_modules/moment/moment.js'); require('script!../node_modules/fullcalendar/dist/fullcalendar.js');
在我的组件中,我从primeng导入计划
import {Schedule} from 'primeng/components/schedule/schedule';
并添加指令
directives : [Schedule]
在我看来
<p-schedule [events]="events"></p-schedule>
它告诉我this.schedule.fullCalendar不是一个函数.在schedule.js中.
PS:在我尝试插入日程表之前我插入一个按钮只是为了检查我的Prime是否正常连接,它看起来是100%
如果有人能帮助我,请尽我所能
谢谢