You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use jqxWidgets but they don't load properly as they have to have access to the global window.jQuery instance.
Vite recognized and successfully converted jqxWidgets UMD modules into ES modules and also imported them into the build but they didn't attach into the global jQuery.
Their working example using require shows something like this which I can't replicate in Vite:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm trying to use jqxWidgets but they don't load properly as they have to have access to the global window.jQuery instance.
Vite recognized and successfully converted jqxWidgets UMD modules into ES modules and also imported them into the build but they didn't attach into the global jQuery.
Their working example using require shows something like this which I can't replicate in Vite:
In Vite I successfully added jQuery:
Imported and exposed it globally:
But failed to correctly import jqxWidgets into this global jQuery:
Thank you for any help and suggestions.
Beta Was this translation helpful? Give feedback.
All reactions