From 4692a0b4b78b596fa71eee1b6b62f073b86bbf72 Mon Sep 17 00:00:00 2001 From: Kieran O'Neill Date: Sat, 20 Apr 2024 10:26:43 +0100 Subject: [PATCH] docs: add installing via a cdn (#23) --- docs/clients/getting-started.mdx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/clients/getting-started.mdx b/docs/clients/getting-started.mdx index 279b824..c474ae5 100644 --- a/docs/clients/getting-started.mdx +++ b/docs/clients/getting-started.mdx @@ -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 + + ... + + ... + +``` + ## Initialization Firstly, we want to initialize the AVM client: