A
A
Alexander Lysenko2017-10-05 14:37:50
JavaScript
Alexander Lysenko, 2017-10-05 14:37:50

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

1 answer(s)
N
Nikita Velko, 2017-10-05
@LysenkoSasha

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 question

Ask a Question

731 491 924 answers to any question