Select2 v4 theme for Bootstrap4 (Compatible to boostrap 4.0.0+)
๐ https://embed.plnkr.co/YFhC0HYNJPKjXl2wIDGZ/
$ npm install @ttskch/select2-bootstrap4-theme
<link rel="stylesheet" href="/path/to/select2.css">
<link rel="stylesheet" href="/path/to/select2-bootstrap4.css">
$('select').select2({
theme: 'bootstrap4',
});
- Fix src/layout.scss, src/_single.scss or src/_multiple.scss
- Do
npm run build:both
- Send me a Pull Requeest