M
M
Maxim Ivanov2016-08-17 12:01:06
Web development
Maxim Ivanov, 2016-08-17 12:01:06

How to include jquery plugin in webpack?

'use strict';

import $ from 'jquery';
window.$ = $;

// до этого момента работает
require('./jquery/plugin/datetimepicker.js');

44c471d23d744112a223dfb5151a1ce3.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DenJel, 2016-08-17
@splincodewd

put jquery in externals. Here is a lesson from Ilya Kantor:
Lesson 1
plug-in shove on this lesson:
Lesson 2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question