J
J
jsprog2019-11-07 00:06:11
Vue.js
jsprog, 2019-11-07 00:06:11

js jquery code converter to include in main.js vuejs?

Hey! Faced such a problem that when I connect js code using jquery, it displays a lot of errors in the console.
The file that I included: Gist
I understand that vuejs swears at the design of the code, well, I don’t understand how to properly format the code so that it does not swear. I would like such a service where you copied the code and pasted it into that service and it immediately gave the result.
I have jQuery.
Thanks in advance for your help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
imp-1903, 2019-11-14
@imp-1903

If you really urgently need to use code with jQuery, then there is an option to connect both jQuery and the code itself using the script tag in the index.html file
It helped me at one time, but still I recommend rewriting the code under vue, because from time to time they can pop up invisible problems. If you use ready-made solutions - look for similar ones for vue

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question