Vue 2.7

2.7 released 1 July 2022, latest 2.7.16.

Vue 2.7 reached end of life on 31 December 2023.

What changed

Vue 2.7 is the final Vue 2 release line and backports several Composition API-era capabilities from Vue 3. It includes the Composition API as a built-in feature rather than requiring the separate composition-api plugin, adds <script setup> support for single-file components, and supports CSS v-bind() expressions in SFC styles. It also adds improvements around TypeScript declarations and exposes newer APIs such as defineComponent, h, useSlots, useAttrs, and defineAsyncComponent. These additions make it easier to begin writing Vue 3-style component logic while retaining Vue 2’s runtime, options-based architecture, and compatibility constraints. It is not Vue 3: Vue 2.7 still uses the Vue 2 reactivity implementation, does not provide the Vue 3 application API or proxy-based reactivity model, and does not support every Vue 3 feature or ecosystem package unchanged.

What staying costs

Vue 2.7 has reached end of life. Teams remaining on it should not expect ongoing upstream maintenance, security fixes, bug fixes, or compatibility work for newly evolving browsers, build tools, and dependent libraries. The partial Vue 3 feature backports can also create a misleading sense of migration readiness: code may use Composition API and <script setup> while still depending on Vue 2-specific behavior, limitations, or plugins. Over time, upgrading surrounding dependencies may require increasingly narrow version pins, custom patches, or replacement of unmaintained Vue 2 integrations. This raises the cost of routine dependency updates and concentrates migration risk into a later, larger project.

What to do

Plan a move to Vue 3 rather than treating Vue 2.7 as a long-term target. First inventory Vue 2-specific dependencies, including UI libraries, router and state-management versions, build tooling, test utilities, custom directives, filters, and plugins that rely on Vue 2 internals. Upgrade dependencies to versions that explicitly support Vue 3 where available, and identify replacements or rewrite work where they do not. Use Vue 2.7’s built-in Composition API and <script setup> selectively to reduce component-level conversion work, but test against Vue 3 rather than assuming source compatibility. Run the Vue migration build or migration tooling where appropriate to identify incompatible patterns, then address common changes such as the new application bootstrap API, event and attribute behavior, removed filters, changed v-model conventions, and plugin installation. Establish regression coverage before conversion, migrate in controlled increments where the application structure permits it, and validate production builds, SSR behavior if used, and third-party integrations on the Vue 3 toolchain.

See what moving on from Vue 2.7 involves.

See the Vue technology page

Not sure yet? Get my plan

We can tell you what moving off Vue 2.7 involves.

What it takes to move off Vue 2.7 depends on what you built on it — the version you are on, how much depends on it, and how much of the work is mechanical. Leave your email with this version and we can tell you what that looks like for you.