Тема: Не працює slick slider
Я підключаю slick slider а воно видає мені помилку
(index):774 Uncaught TypeError: $(...).slick is not a function
at HTMLDocument.<anonymous> ((index):774)
at fire (jquery.js:3187)
at Object.fireWith [as resolveWith] (jquery.js:3317)
at Function.ready (jquery.js:3536)
at HTMLDocument.completed (jquery.js:3552)
(anonymous) @ (index):774
fire @ jquery.js:3187
fireWith @ jquery.js:3317
ready @ jquery.js:3536
completed @ jquery.js:3552
Ось код
<div class="single-item">
<div class="slide">
<img src="/web/img/posts/new1.jpg">
</div>
<div class="slide">
<img src="/web/img/posts/new1.jpg">
</div>
<div class="slide">
<img src="/web/img/posts/new1.jpg">
</div>
<div class="slide">
<img src="/web/img/posts/new1.jpg">
</div>
<div class="slide">
<img src="/web/img/posts/new1.jpg">
</div>
</div>
<script src="/web/js/jquery.min.js"></script>
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script src="/web/slick/slick.js"></script>
<script>
$(document).ready(function(){
$('.single-item').slick();
});
</script>