From c523176c098dd732b69fd51895ece7fe34cff33d Mon Sep 17 00:00:00 2001 From: Will Eastcott Date: Thu, 12 Dec 2024 19:34:09 +0000 Subject: [PATCH] Update README.md --- README.md | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 9459a00..4713148 100644 --- a/README.md +++ b/README.md @@ -44,33 +44,35 @@ npm install playcanvas @playcanvas/web-components --save-dev Next, in your HTML file, you will need an import map because the web components need to be able to find the PlayCanvas Engine (which is an external dependency): ```html - + ``` -Tou can then import the components as follows: +You can then import the components as follows: ```html ``` +You can now incorporate any of the PlayCanvas Web Components elements into your HTML! + ### Using a CDN Instead of loading the library from a local package, you can instead opt to load it from a CDN (such as jsDelivr). In this case, you would update the import map: ```html - + ``` And the components would now be imported as follows: