jauhar54 03c91e0dba init | 2 jaren geleden | |
---|---|---|
.. | ||
dist | 2 jaren geleden | |
docs | 2 jaren geleden | |
src | 2 jaren geleden | |
.gitignore | 2 jaren geleden | |
LICENSE | 2 jaren geleden | |
README.md | 2 jaren geleden | |
package.json | 2 jaren geleden | |
webpack.config.js | 2 jaren geleden |
Select2 v4 theme for Bootstrap4 (Compatible to boostrap 4.0.0+)
👉 https://ttskch.github.io/select2-bootstrap4-theme/
$ 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',
});
npm run build:both
You can use docs dir for your development.
npm run prepare
(this creates symlink to dist/select2-bootstrap4.css
onto docs
)docs
with your local web server (e.g. php -S localhost:8888 -t docs
)npm watch