Skip to content

Commit

Permalink
[docs] Update CDN suggestion in lit-html v1 docs (#1299)
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjk authored Jan 19, 2024
1 parent b5c0f2e commit 448dbdb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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@1';
```

### Online editors
Expand Down

0 comments on commit 448dbdb

Please sign in to comment.