How to connect slider Uikit 2?

I can't seem to connect the slider 2 to Uikit. Seem to do everything on the documentation but I can't. Maybe someone knows what's the problem?

<div class="uk-slidenav-position" data-uk-slideshow>
 <ul class="uk-slideshow" data-uk-slideshow="{autoplay:true}">
 <p><img src="../img-slider/pic-slider-1.png" width="100%" height="100%" alt="slider picture"></li>
 <p><img src="../img-slider/pic-slider-2.png" width="100%" height="100%" alt="slider picture"></li>
 <p><img src="../img-slider/pic-slider-3.png" width="100%" height="100%" alt="slider picture"></li>
 <a href class="uk-slidenav uk-slidenav-contrast uk-slidenav-previous" data-uk-slideshow-item="previous"></a>
 <a href class="uk-slidenav uk-slidenav-contrast uk-slidenav-next" data-uk-slideshow-item="next"></a>
 <ul class="uk-dotnav uk-dotnav-contrast uk-position-bottom uk-flex-center">
 <li data-uk-slideshow-item="0"><a href></a></li>
 <li data-uk-slideshow-item="1"><a href></a></li>
 <li data-uk-slideshow-item="2"><a href></a></li>
June 10th 19 at 16:07
1 answer
June 10th 19 at 16:09
And you js part connected? What the console says?

Find more questions by tags UIkitFrontendCSSJavaScript