2

I want to use Vue.js and JQuery together in an HTML file. Is there any problems in doing that?

3
  • 1
    No there is no big problem, I have used on some of my projects and worked very well. Instead of that can you describe for what purpose you want to merge both libraries !!! Commented Sep 24, 2018 at 13:38
  • 1
    Generally there is no issues, but note that Vue.js has a lot of the same built in functionality that JQuery offers. Generally you should be able to go with one of the libraries and not have to mix the two. Commented Sep 24, 2018 at 13:41
  • You can use jQuery and Vue together. There are certain tips and tricks that need to be used but they do well together. If you have a certain problem or error that you can't find a resolution for ask. Take a look at this good article explaining this vuejsdevelopers.com/2017/05/20/vue-js-safely-jquery-plugin Commented Sep 24, 2018 at 13:41

1 Answer 1

7

There are not so many technical issues (although see the comments for more), but it defeats the point of using Vue.js.

It would be like trying to use a Fisherprice knife in a sushi kitchen. Yes, it might do something at some point, but it’s going to get in the way the rest of the time.

Is there any problem using Vuejs and JQuery together?

Simply: yes, there is a problem: it is a bad idea.

However, this answer is an opinion and so this question will probably be removed at some point. Don’t feel bad for asking it, but I would encourage you to understand why I’m saying it’s a bad idea.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.