vuejs/vue-web-component-wrapper
(Vue 2 only) Wrap a Vue component as a web component / custom element. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3135
- days_rel: n/a
- days_push: 1231
- n_releases_24m: 0
Adoption not part of the score
1062 stars · 99 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Vue 2 library that wraps a Vue component as a standards-based web component (custom element) so it can be registered with customElements.define and used in any page or framework. It proxies props between the custom element and the inner Vue component, including attribute-to-prop mapping and boolean casting.
Use cases
- wrap a Vue component as a custom element
- use Vue components in non-Vue pages via web components
- register a Vue component with customElements.define
- embed Vue widgets in plain HTML or other frameworks
- convert Vue 2 components to standards-based custom elements
When to choose
- you are on Vue 2 and need to expose components as native custom elements
- you want to embed Vue components in pages or apps not built with Vue
- you need standards-based custom elements with prop/attribute proxying
When to avoid
- you are using Vue 3, which has built-in defineCustomElement
- you need IE11 support
- you need active development or official maintenance guarantees
Facets
library · maturity maintenance
ui-components frontend-framework web-development frontend developer-tools browser vue web-components custom-elements vue2 shadow-dom javascript web
1 source
- readme: https://github.com/vuejs/vue-web-component-wrapper · fetched 2026-08-28 · 4c9a65f759f8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vuejs/vue-web-component-wrapper | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="vuejs/vue-web-component-wrapper")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem