Answer the question
In order to leave comments, you need to log in
import not working in main.js TARS?
I use the TARS project builder, I insert into the main.js file:
But Jquery is not connected, what could be the problem?
Plus, if you insert code into main.js that should use the jquery library, the console does not give errors, but if you insert the same code, for example, into a file created in the plugins folder, the console gives an error, because jquery is not connected. Accordingly, the code cannot be launched either there or there
Save Artem Malkoimport $ from "jquery";
Answer the question
In order to leave comments, you need to log in
Why are you importing $ in your index.js file? You don't use it there do you? Wangyu that in the file where it is used, it is not imported.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question