Skip to content

Commit

Permalink
Merge pull request #3273 from BesrourMS/patch-1
Browse files Browse the repository at this point in the history
add CDN for web3.js
  • Loading branch information
nivida authored Jan 16, 2020
2 parents 7f92ba5 + f2682d9 commit 84543a0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ npm run-script build
Then include `dist/web3.js` in your html file.
This will expose `Web3` on the window object.

Or via jsDelivr CDN

```html
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
```
UNPKG

```html
<script src="https://unpkg.com/web3@latest/dist/web3.min.js"></script>
```
## Usage

```js
Expand Down

0 comments on commit 84543a0

Please sign in to comment.