Skip to content

Commit 8f1d040

Browse files
authored
Update Installation instructions
1 parent 5278cb3 commit 8f1d040

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,29 @@ Simple and easy to use lightbox script.
2929

3030
### npm
3131

32-
```shell
33-
npm install baguettebox.js
32+
```sh
33+
npm install baguettebox.js --save
34+
```
35+
36+
### Yarn
37+
```sh
38+
yarn add baguettebox.js
3439
```
3540

3641
### Bower
3742

38-
```shell
39-
bower install baguettebox.js
43+
```sh
44+
bower install baguettebox.js --save
4045
```
4146

4247
### CDN
43-
1. Go to [cdnjs](https://cdnjs.com/libraries/baguettebox.js/) and copy URLs of the latest version:
48+
1. Use one of the following CDN providers:
49+
50+
https://cdnjs.com/libraries/baguettebox.js
4451

45-
https://cdnjs.com/libraries/baguettebox.js/
52+
http://jsdelivr.com/projects/baguettebox.js
53+
54+
3. Copy URLs of the latest version (both `.js` and `.css` files)
4655

4756
2. Paste the URLs in your HTML file:
4857

0 commit comments

Comments
 (0)