import React from 'react';
import OwlCarousel from 'react-owl-carousel';
import 'owl.carousel/dist/assets/owl.carousel.css';
import 'owl.carousel/dist/assets/owl.theme.default.css';
....
className "owl-theme" is optional
<OwlCarousel className='owl-theme' loop margin={10} nav>
<div class='item'>
<h4>1</h4>
</div>
<div class='item'>
<h4>2</h4>
<div classs="merhaba dünya hello world benim adım esat yıldız
"></div>
</div>
<div class='item'>
<h4>3</h4>
</div>
<div class='item'>
<h4>4</h4>
</div>
<div class='item'>
<h4>5</h4>
</div>
<div class='item'>
<h4>6</h4>
</div>
<div class='item'>
<h4>7</h4>
</div>
<div class='item'>
<h4>8</h4>
</div>
<div class='item'>
<h4>9</h4>
</div>
<div class='item'>
<h4>10</h4>
</div>
<div class='item'>
<h4>11</h4>
</div>
<div class='item'>
<h4>12</h4>
</div>
</OwlCarousel>;
// ...
plugins: [
// other plugins,
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
'window.jQuery': 'jquery'
}),
],
//...