From e4853537ce6bf7f845d59ba9faf135dd4a4cac1b Mon Sep 17 00:00:00 2001 From: Augustine Kim Date: Thu, 18 Jan 2024 13:58:40 -0800 Subject: [PATCH] Replace unpkg ?module suggestion --- .../site/docs/v1/lit-html/getting-started.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/lit-dev-content/site/docs/v1/lit-html/getting-started.md b/packages/lit-dev-content/site/docs/v1/lit-html/getting-started.md index 94ed1b8ff..f3ce5b1f8 100644 --- a/packages/lit-dev-content/site/docs/v1/lit-html/getting-started.md +++ b/packages/lit-dev-content/site/docs/v1/lit-html/getting-started.md @@ -19,12 +19,12 @@ lit-html is distributed on npm, in the [lit-html package]. npm install lit-html ``` -### unpkg.com +### CDNs -You can also load lit-html directly from the unpkg.com CDN: +You can also load lit-html directly from CDNs with good module support like [esm.run](https://esm.run) or [esm.sh](https://esm.sh): ```js -import {html, render} from 'https://unpkg.com/lit-html?module'; +import {html, render} from 'https://esm.run/lit-html'; ``` ### Online editors