Няма описание
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jauhar54 03c91e0dba init преди 2 години
..
dist init преди 2 години
docs init преди 2 години
src init преди 2 години
.gitignore init преди 2 години
LICENSE init преди 2 години
README.md init преди 2 години
package.json init преди 2 години
webpack.config.js init преди 2 години

README.md

select2-bootstrap4-theme

npm version npm downloads

Select2 v4 theme for Bootstrap4 (Compatible to boostrap 4.0.0+)

Live demo

👉 https://ttskch.github.io/select2-bootstrap4-theme/

Installation

$ npm install @ttskch/select2-bootstrap4-theme

Usage

<link rel="stylesheet" href="/path/to/select2.css">
<link rel="stylesheet" href="/path/to/select2-bootstrap4.css">
$('select').select2({
    theme: 'bootstrap4',
});

Getting involved

  1. Fix src/layout.scss, src/_single.scss or src/_multiple.scss
  2. Do npm run build:both
  3. Send me a Pull Requeest

You can use docs dir for your development.

  1. Do npm run prepare (this creates symlink to dist/select2-bootstrap4.css onto docs)
  2. Serve docs with your local web server (e.g. php -S localhost:8888 -t docs)
  3. Do npm watch
  4. Tweak scss and browse demo page on your browser