From bb121d9845682a4603fb80c0f39c2100e5dbecea Mon Sep 17 00:00:00 2001 From: John F Morton Date: Fri, 17 Nov 2023 13:39:07 -0500 Subject: [PATCH] Updated docs after testing CDN use. --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5277dbe..1d2f143 100644 --- a/README.md +++ b/README.md @@ -66,12 +66,17 @@ customElements.define('my-share-button', ProgressiveShareButtonClass); ``` -### CDN - not tested yet +### CDN -~~Not Tested: You can also use the component directly from a CDN. The component is available on [unpkg](https://unpkg.com/progressive-share-button).~~ +You can also use the component directly from a CDN. The component is available on [unpkg](https://unpkg.com/progressive-share-button). The following example shows how to use the component from unpkg. Note the use of `?module` at the end of the URL in the import statement. ```html - + + ``` ## Typescript support