Kaynağa Gözat

[blog] Use API as tag for Vue3 wrapper post

Romain Rigaux 4 yıl önce
ebeveyn
işleme
03eafbd508

+ 2 - 2
docs/gethue/content/en/posts/2021-03-04-vue3-build-cli-options-composition-api-template-web-components-hue.md

@@ -40,7 +40,7 @@ ampforwp-amp-on-off:
   - default
 categories:
   - Version 4.10
-  - Release
+  - API
 
 ---
 
@@ -277,4 +277,4 @@ The official wrapper must be very similar to our implementation. That said, the
 
 Hue moved from using pretty old technologies to the forefront of Web interface development with Vue 3 and the component wrapper. We strongly believe component programming is a very effective development paradigm with its isolation and easy sharing. In the next episode we will demo how it all integrates with the new Hue 5 API.
 
-~ Sreenath from the Hue Team
+~ Sreenath from the Hue Team

+ 1 - 1
tools/vue3-webcomponent-wrapper/README.md

@@ -2,7 +2,7 @@
 
 Vue 3 wrapper to convert a Vue component into Web Component. It supports reactive attributes, events & slots.
 
-This is a port of [@vuejs/vue-web-component-wrapper](https://github.com/vuejs/vue-web-component-wrapper) (Official Vue 2 web component wrapper package) to work with Vue 3. And must be deprecated once the official wrapper package  starts supporting Vue 3. Progress of Vue3 support is tracked in this [issue.](https://github.com/vuejs/vue-web-component-wrapper/issues/93)
+This is a port of [@vuejs/vue-web-component-wrapper](https://github.com/vuejs/vue-web-component-wrapper) (Official Vue 2 web component wrapper package) to work with Vue 3. And could be deprecated once the official wrapper package  starts supporting Vue 3. Progress of Vue3 support is tracked in this [issue.](https://github.com/vuejs/vue-web-component-wrapper/issues/93)
 
 One main blocker preventing the official wrapper from upgrading was the lack of shadow-root CSS injection in Vue 3 build tooling. As we could live without a shadow dom in Hue this was not an issue and this port was created.