A
A
Alexey Orlov2018-05-28 19:53:24
css
Alexey Orlov, 2018-05-28 19:53:24

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 Malko
import $ from "jquery";

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Wolf, 2018-05-29
@Hardjuice

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 question

Ask a Question

731 491 924 answers to any question