diff --git a/README.md b/README.md index 9b79689..234faa4 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ The result is a reactive UI on property changes. Import using [unpkg](https://unpkg.com/web-component-base) in your vanilla JS component. We will use this in the rest of our [usage examples](#usage). ```js -import WebComponent from "https://unpkg.com/web-component-base/index.js"; +import WebComponent from "https://unpkg.com/web-component-base@latest/WebComponent.min.js"; ``` ## Installation via npm @@ -47,7 +47,7 @@ In your component class: ```js // HelloWorld.mjs -import WebComponent from "https://unpkg.com/web-component-base/index.js"; +import WebComponent from "https://unpkg.com/web-component-base@latest/WebComponent.min.js"; class HelloWorld extends WebComponent { static properties = ["my-name", "emotion"]; @@ -151,7 +151,7 @@ Here is an example of using a custom element in a single .html file: