Skip to content

Commit

Permalink
docs: add installing via a cdn (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
kieranroneill committed Apr 20, 2024
1 parent 2028400 commit 4692a0b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/clients/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,28 @@ import TOCInline from '@theme/TOCInline';

## Installation

### Using a package manager

Use your favourite package manager to install:

```bash npm2yarn
npm install --save @agoralabs-sh/avm-web-provider
```

### Download via a CDN

1. Download the latest minified browser bundle [here](https://github.com/agoralabs-sh/avm-web-provider/releases/latest/download/avm-web-provider.min.js).

2. Include the minified browser bundle directly in your HTML like so:

```html
<html>
...
<script src="avm-web-provider.min.js"></script>
...
</html>
```

## Initialization

Firstly, we want to initialize the AVM client:
Expand Down

0 comments on commit 4692a0b

Please sign in to comment.