A
A
Artem2016-01-27 11:43:12
JavaScript
Artem, 2016-01-27 11:43:12

How to connect jQuery and plugins to it in Webpack (ES2015)?

Good afternoon,
I have such a problem:
when connecting jQuery plugins, they do not see jQuery itself. I do it like this:

import $ from 'jquery'
    import jQuery from 'jquery'
    window.$ = $;
    window.jQuery = jQuery;
        import tooltip from 'bootstrap'

Please tell me the right way...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question