This is Bucklescript bindings for react-slick.
yarn add bs-react-slick
Add bs-react-slick to bs-dependencies
in your bsconfig.json
!
{
/* ... */
"bs-dependencies": [
"bs-react-slick"
],
/* ... */
}
Add cdn to html
<link rel="stylesheet" type="text/css" charset="UTF-8" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css" />
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css" />