Answer the question
In order to leave comments, you need to log in
Is it good practice to use vue and jquery together?
Hello. I am writing a backend on Laravel, vue is already integrated there by default, but for example for the admin panel (I just use ready-made html + css + js + jquery), but I really want to use vue as well. Is it good practice to pull the cumbersome jquery library, because plugins that require it in the admin, but still use all the highlights of vue.js ?
Answer the question
In order to leave comments, you need to log in
Normal.
There are a lot of situations when the plugin you need pulls with a jQuery dependency, but there is no analogue in terms of functionality on vue. Actually, this is attributed to the main minus of vue, that there are very few sane plugins (all sorts of carousels, custom scrolls, etc.), and therefore, gritting your teeth and praying, you have to drag jQuery with you.
Therefore, if the admin panel requires jQuery, then drag it into the project, there are few options as such (or even none at all).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question