jauhar54 03c91e0dba init | 2 年之前 | |
---|---|---|
.. | ||
dist | 2 年之前 | |
docs | 2 年之前 | |
src | 2 年之前 | |
.gitignore | 2 年之前 | |
LICENSE | 2 年之前 | |
README.md | 2 年之前 | |
package.json | 2 年之前 | |
webpack.config.js | 2 年之前 |
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