@yhwh-script/shadow-h4x 1.0.7 → 1.0.8

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 +8 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -22,17 +22,20 @@ Please stick to the following conventions! When working with Vite (recommended),
22
22
  "generate": "node node_modules/@yhwh-script/shadow-h4x/generate.cjs"
23
23
  }
24
24
  ```
25
+ Then run
26
+
27
+ ```bash
28
+ npm run dev
29
+ ```
25
30
 
26
31
  This will autogenerate a map of your WebComponents inside the `src/components` folder.
27
32
 
33
+ Finally import shadow-h4x:
34
+
28
35
  ```
29
36
  <script type="module">
30
37
  import('@yhwh-script/shadow-h4x')
31
38
  </script>
32
39
  ```
33
- After importing shadow-h4x your WebComponents will be defined in the CustemElements registry. This is a feature! You don't have to register your elements manually. Just put them into the publis folder.
34
-
35
- Important:
36
40
 
37
- Each WebComponent must be located in a subfolder under `public/components`, for instance:
38
- `public/components/router/router-app.html`.
41
+ After importing shadow-h4x your WebComponents will be defined in the CustemElements registry. This is a feature! You don't have to register your elements manually. Just put them into the public folder. **Important!** Each WebComponent must be located in a subfolder under `public/components`, for instance: `public/components/router/router-app.html`.
package/package.json CHANGED
@@ -23,5 +23,5 @@
23
23
  "url": "git+https://github.com/yhwh-script/shadow-h4x.git"
24
24
  },
25
25
  "type": "module",
26
- "version": "1.0.7"
26
+ "version": "1.0.8"
27
27
  }