diff --git a/packages/model-viewer/README.md b/packages/model-viewer/README.md index a351129f36..c283cc9c16 100644 --- a/packages/model-viewer/README.md +++ b/packages/model-viewer/README.md @@ -21,6 +21,8 @@ supported to provide a seamless development experience. ## Installing +### NPM + The `` web component can be installed from [NPM](https://npmjs.org): ```sh @@ -30,6 +32,14 @@ npm install three npm install @google/model-viewer ``` +Finally, include the `` script in your project. + +```js +import '@google/model-viewer'; +``` + +### CDN + It can also be used directly from various free CDNs such as [jsDelivr](https://www.jsdelivr.com/package/npm/@google/model-viewer) and Google's own [hosted libraries](https://developers.google.com/speed/libraries#model-viewer): ```html