Trending News:
My view like this :
@foreach($leagues as $league)
@endforeach
...
My top league Component vue like this :
:style="{backgroundImage: 'url(' + baseUrl + '/img/leagues/'+item.photo+ ')'}">
When loaded the first time, there are 5 items of data displayed in the form of sliders. I tried putting this Code : $('.slick').slick({slidesToShow: 3, infinite: false});
in created
, but there was an error
If the code executed, there exist error like this :
[Vue warn]: Error in Created hook: "TypeError: $(...).slick is not a function"
How can I solve it?
Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE