Why slick js adds 2 extra diva?

Install slick js in vue or html via npm in the project , and no matter in what way, through vue-slick or using jquery and slick-caousel.

Set this behavior if I install slick-carousel via NPM. Then once there is 2 or one extra div. I do not understand why.

Here is the dependecies: prntscr.com/gw4fqs
It looks like html (pug): prntscr.com/gw4fz5
it looks like the import in js: prntscr.com/gw4g9c
and finally what happens in the browser: prntscr.com/gw4gnf

How can I solve the problem?
June 14th 19 at 20:00
3 answers
June 14th 19 at 20:02
Webpack a similar problem was solved by connecting inficirovannye file
require('slick-carousel/slick/slick.min.js');
June 14th 19 at 20:04
See the code Vue, slick never add such blocks.
Set this behavior if I install slick-carousel via NPM. Then once there is 2 or one extra div. I do not understand why.

Here is the dependecies: prntscr.com/gw4fqs
It looks like html (pug): prntscr.com/gw4fz5
it looks like the import in js: prntscr.com/gw4g9c
and finally what happens in the browser: prntscr.com/gw4gnf - gennaro.Heidenreich commented on June 14th 19 at 20:07
June 14th 19 at 20:06
Maybe somewhere stupid unclosed div =)

as an example of the <div> instead of </div> and the UK it appends itself


To look for of course by exception, plus in the inside slick look, suddenly there somewhere there is something like usediv = true to wrap it in the empty div? In General, the mass of options
Set this behavior if I install slick-carousel via NPM. Then once there is 2 or one extra div. I do not understand why.

Here is the dependecies: prntscr.com/gw4fqs
It looks like html (pug): prntscr.com/gw4fz5
it looks like the import in js: prntscr.com/gw4g9c
and finally what happens in the browser: prntscr.com/gw4gnf - gennaro.Heidenreich commented on June 14th 19 at 20:09

Find more questions by tags JavaScriptVue.jsSlickjQuery