@startinblox/boilerplate 3.0.3 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,8 +47,12 @@ To initialize a new component repository from this boilerplate:
|
|
|
47
47
|
For production usage, components can be served via a CDN like JSDelivr or self-hosted.
|
|
48
48
|
|
|
49
49
|
```html
|
|
50
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@startinblox/core@latest/dist/store.js"></script>
|
|
51
|
-
|
|
50
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@startinblox/core@latest/dist/store.js" defer=""></script>
|
|
51
|
+
<!--
|
|
52
|
+
Or the entire core:
|
|
53
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@startinblox/core@latest/dist/index.js" defer=""></script>
|
|
54
|
+
-->
|
|
55
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/your-component-name@latest" defer=""></script>
|
|
52
56
|
<!-- ... -->
|
|
53
57
|
<your-component-1 data-src="..."></your-component-1>
|
|
54
58
|
<your-component-2>Hello World!</your-component-2>
|