Skip to content

Commit 60ff33a

Browse files
committed
First commit
Close: ttskch#66
1 parent 4a90287 commit 60ff33a

15 files changed

+469
-383
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
```html
2020
<link rel="stylesheet" href="/path/to/select2.css">
21-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ttskch/select2-bootstrap4-theme@x.x.x/dist/select2-bootstrap4.min.css">
21+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ttskch/select2-bootstrap4-theme@x.x.x/dist/select2-bootstrap5.min.css">
2222
```
2323

2424
### Manually
@@ -36,14 +36,14 @@ $ composer require ttskch/select2-bootstrap4-theme
3636

3737
```html
3838
<link rel="stylesheet" href="/path/to/select2.css">
39-
<link rel="stylesheet" href="/path/to/select2-bootstrap4.min.css">
39+
<link rel="stylesheet" href="/path/to/select2-bootstrap5.min.css">
4040
```
4141

4242
## Usage
4343

4444
```js
4545
$('select').select2({
46-
theme: 'bootstrap4',
46+
theme: 'bootstrap5',
4747
});
4848
```
4949

@@ -55,7 +55,7 @@ $('select').select2({
5555

5656
You can use [docs](docs) dir for your development.
5757

58-
1. Run `npm run prepare` (this creates symlink to `dist/select2-bootstrap4.css` onto `docs`)
58+
1. Run `npm run prepare` (this creates symlink to `dist/select2-bootstrap5.css` onto `docs`)
5959
1. Serve `docs` from your local web server, examples:
6060
- Using PHP: `php -S localhost:8888 -t docs`
6161
- Using Python 3: `python3 -m http.server -d docs 8888`

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"select2",
66
"theme",
77
"bootstrap",
8-
"bootstrap4",
8+
"bootstrap5",
99
"css",
1010
"scss"
1111
],

dist/select2-bootstrap4.css

Lines changed: 0 additions & 199 deletions
This file was deleted.

dist/select2-bootstrap4.min.css

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)