Plugins Prop not working
See original GitHub issueError: The FullCalendar view “dayGridMonth” does not exist. Make sure your plugins are loaded correctly.
import React from 'react';
import FullCalendar from '@fullcalendar/react';
import dayGridPlugin from '@fullcalendar/daygrid';
import '@fullcalendar/core/main.css';
import '@fullcalendar/daygrid/main.css';
const Calendar = props => {
return <FullCalendar defaultView="dayGridMonth" plugins={ [dayGridPlugin] } />;
};
export default Calendar;
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Vue JS custom plugin props not updating - Stack Overflow
I'm building a Vue JS custom plugin which has some options that can be passed as props. I'm building the plugin using the ......
Read more >Props to plugin views - Discuss - ProseMirror
What's the best way to pass props into plugin views so that they update when props change (not only when state changes)?
Read more >The new Provide and Inject in Vue 3 - VueDose
This pattern is known as prop drilling. For developers of plugins or component libraries, problems also arise with providing data.
Read more >Props | Vue.js
Vue components require explicit props declaration so that Vue knows what ... This means you should not attempt to mutate a prop inside...
Read more >storybook-addon-react-docgen
There exist other addons that do this, but they didn't work in the same way as the info addon. This resulted in complicated...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was able to solve this by using the same version for all plugins. I was using a different versions by mistake which was leading to this issue. Using the same version for
@fullcalendar
npm modules resolves this problem.Like below -
I am experiencing this same issue. I have the following
in my package.json file and I am unable to use any of the events like
select
ordateClick
. I am getting this errorError: viewType "dayGridMonth" is not available. Please make sure you've loaded all neccessary plugins
Additionally, I have these props in the component