vuejs/composition-api
Composition API plugin for Vue 2 observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2626
- days_rel: n/a
- days_push: 1114
- n_releases_24m: 0
Adoption not part of the score
4181 stars · 339 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
An official Vue 2 plugin that backports the Vue 3 Composition API (ref, reactive, lifecycle hooks, provide/inject) to Vue 2.6 and earlier. It is now in maintenance mode since Vue 2.7 includes the Composition API built in.
Use cases
- use composition api in vue 2
- add ref and reactive to a vue 2.6 project
- prepare a vue 2 codebase for vue 3 migration
- replace mixins with composable functions in vue 2
- write vue components with typescript type inference
When to choose
- you are stuck on Vue 2.6 or earlier and want Composition API style code
- you are incrementally migrating a Vue 2 app toward Vue 3
When to avoid
- you are on Vue 2.7 or Vue 3, which have the API built in
- you are starting a new project today
- you need long-term support or new features
Facets
library · maturity maintenance
state-management frontend-framework frontend web-development browser cross-platform vue2 composition-api reactivity vue-plugin typescript nodejs
10 sources
- readme: https://github.com/vuejs/composition-api · fetched 2026-08-28 · f0280e7a97c6
- homepage: https://composition-api.vuejs.org/ · fetched 2026-08-29 · d8a93f3fccc4
- site_page: https://vuejs.org/about/privacy · fetched 2026-08-29 · b11bfa0c69f1
- site_page: https://vuejs.org/about/faq · fetched 2026-08-29 · 8293fae6709c
- site_page: https://vuejs.org/about/team · fetched 2026-08-29 · d12b4549ec45
- site_page: https://vuejs.org/about/releases · fetched 2026-08-29 · 18a35dd0dcdb
- site_page: https://vuejs.org/about/community-guide · fetched 2026-08-29 · dd3533b7c274
- site_page: https://vuejs.org/about/coc · fetched 2026-08-29 · 0cfeb8b46044
- site_page: https://cn.vuejs.org/guide/extras/composition-api-faq · fetched 2026-08-29 · 1535b69e8f40
- site_page: https://v2.vuejs.org · fetched 2026-08-29 · 47d56d29e839
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vuejs/composition-api | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="vuejs/composition-api")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem