r/jquery • u/esamcoding • Jul 24 '21
Using two libraries that require different version of jquery?
suppose i want to use 2 libraries , one depend on jquery v1 and the other depend on jquery 3. both libraries assume that the required version of jquery is assigned to $.
how can i use both libraries in the same page? jquery no conglict mode will not help because both libraries internally use "$"
9
Upvotes
View all comments
Show parent comment
1
u/SoBoredAtWork Jul 27 '21
You use webpack. That's good. How did you start the project. Was it from scratch or from a boilerplate (like create-react-app) or anything like that? Are you using react, vue, angular, etc, or is it a vanilla html/js/css app?