Skip to content

Commit 7086519

Browse files
committed
More install options.
1 parent 5b72da6 commit 7086519

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,23 @@ Nonblocking UI elements in JavaScript.
44

55
## Installation
66

7-
Install via NPM with:
7+
### Install via NPM with:
88

99
```sh
1010
npm install --save nonblockjs
1111
```
1212

13-
Include `NonBlock.css` and `NonBlock.js` in your page.
13+
```html
14+
<script type="text/javascript" src="node_modules/nonblockjs/NonBlock.js"></script>
15+
<link type="text/css" rel="stylesheet" href="node_modules/nonblockjs/NonBlock.css" />
16+
```
17+
18+
### Or use jsDelivr:
19+
20+
```html
21+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/nonblockjs@1/NonBlock.js"></script>
22+
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nonblockjs@1/NonBlock.css" />
23+
```
1424

1525
## Usage
1626

0 commit comments

Comments
 (0)