Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add installing via a cdn #23

Merged
merged 1 commit into from
Apr 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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