spikijs 1.0.0 → 1.0.2

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.
Files changed (2) hide show
  1. package/README.md +3 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -18,11 +18,10 @@ npm install spikijs
18
18
  ```
19
19
 
20
20
  ### via CDN
21
-
22
- For quick prototyping, you can use the CDN directly in your HTML:
21
+ You can use the CDN directly in your HTML using a standard script tag:
23
22
 
24
23
  ```html
25
- <script src="[https://unpkg.com/spikijs](https://unpkg.com/spikijs)"></script>
24
+ <script src="https://unpkg.com/spikijs@1.0.2/spiki.min.js"></script>
26
25
 
27
26
  ```
28
27
 
@@ -52,7 +51,7 @@ Use special `s-` attributes to bind data and events to your HTML.
52
51
  Register your component logic and start the framework.
53
52
 
54
53
  ```javascript
55
- import spiki from 'spikijs';
54
+ import spiki from 'spikijs'; // required in script module
56
55
 
57
56
  // Register the 'counter' component
58
57
  spiki.data('counter', () => ({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "spikijs",
3
3
  "license": "MIT",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",