@projectevergreen/astro-wcc 0.1.2 → 0.1.3

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 (3) hide show
  1. package/README.md +12 -0
  2. package/TODO.md +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -17,6 +17,18 @@ An [Astro](https://astro.build/) integration for SSR Web Components using [WCC](
17
17
  integrations: [ astroWcc() ]
18
18
  });
19
19
  ```
20
+ 1. You can now use a component in an Astro file
21
+ ```html
22
+ <!-- src/pages/index.astro -->
23
+ <html lang="en">
24
+ <head>
25
+ <script src="../components/greeting.js"></script>
26
+ </head>
27
+ <body>
28
+ <x-greeting></x-greeting>
29
+ </body>
30
+ </html>
31
+ ```
20
32
 
21
33
  ## Caveats
22
34
 
package/TODO.md CHANGED
@@ -1,4 +1,4 @@
1
- 1. [ ] Create as npm package
1
+ 1. [x] Create as npm package
2
2
  1. [ ] clean up console logs
3
3
  1. [ ] Client hints - track as issue
4
4
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectevergreen/astro-wcc",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "An Astro integration for SSR Web Components using WCC",
5
5
  "main": "index.js",
6
6
  "type": "module",