-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vite support for FullCalendar #1211
Comments
@tugcekucukoglu please help to resolve issue. Anything would help. 🙏 |
any progress? |
quick fix. workaround with official demo : import '@fullcalendar/core/vdom' // ! add it
import '@fullcalendar/core'
import dayGridPlugin from '@fullcalendar/daygrid'
import timeGridPlugin from '@fullcalendar/timegrid'
import interactionPlugin from '@fullcalendar/interaction'
import FullCalendar from 'primevue/fullcalendar' |
Thank you @Aysnine ! |
@TuguldurJ |
It was related to issue #1142. Chart.js v3.0 is not supported yet. |
Charts also have this issue with Vite, we'll see if there is something we can do on our end. |
Closing as FullCalendar is deprecated in favor of the official component. |
@cagataycivici can you elaborate on what do you mean as the official component? I'm working with Diamond theme and having exactly this issue. |
Having same issue. Still no vite support? |
For anyone looking for a resolution:
in the component file add "vdom" as seen above |
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please demonstrate your case at codesandbox by using the issue template below. Issues without a test case have much less possibility to be reviewed in detail and assisted.
https://codesandbox.io/s/admiring-hooks-cv1dy
I also created an issue on https://forum.primefaces.org/viewtopic.php?f=142&t=66480
Current behavior
I purchased diamond project and try to use it with vite.js compiler recently introduced in https://github.com/primefaces/primevue-quickstart-vite.
npm run dev
then error shown:Please import the top-level fullcalendar lib before attempting to import a plugin.
What is the motivation / use case for changing the behavior?
This should update outdated dependencies on Diamond Premium Template and run with Vite.js perfectly.
Please tell us about your environment:
Windows 10 x64, VSCode, Node.js, Npm
Vue version: 3.X
3.0.10
PrimeVue version: 5.X
3.4.0
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Chrome 90.0.4430.85 (Official Build) (64-bit)
main.js
The text was updated successfully, but these errors were encountered: