I'm having problems with getting fullcalendar version 4 to show recurring events in a React app.(我在获取全日历版本4以在React应用程序中显示重复事件时遇到问题。)
I used this tutorial(我使用了本教程)
the statement import 'fullcalendar/plugins/rrule';
(语句import 'fullcalendar/plugins/rrule';
)
gives me the error:(给我错误:)
Module not found: Can't resolve 'fullcalendar/plugins/rrule'
So I changed the import statement to 'fullcalendar/dist/plugins/rrule';
(所以我将import语句更改为'fullcalendar/dist/plugins/rrule';
)
Now I get errors from rollup which I solved by adding external: [ 'rrule' ]
in rollup.config.js
(现在我从汇总中得到了错误,可以通过在rollup.config.js
添加external: [ 'rrule' ]
来rollup.config.js
)
All I want to do is show some recurring events in fullcalendar
version 4 (so no JQuery dependency) and React.(我要做的就是在fullcalendar
版本4(因此没有JQuery依赖项)和React中显示一些重复发生的事件。)
Any help would be appreciated(任何帮助,将不胜感激)
I started a project on code sandbox but couldn't get fullcalendar v4 to load.(我在代码沙箱上启动了一个项目,但无法加载fullcalendar v4。)
ask by Dany Dhondt translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…