jauhar54 03c91e0dba init | il y a 2 ans | |
---|---|---|
.. | ||
dist | il y a 2 ans | |
docs | il y a 2 ans | |
src | il y a 2 ans | |
.gitignore | il y a 2 ans | |
LICENSE | il y a 2 ans | |
README.md | il y a 2 ans | |
package.json | il y a 2 ans | |
webpack.config.js | il y a 2 ans |
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