End of support

Vue 2 end of life: the risks today and how to migrate to Vue 3

End of support

Vue 2 reached end of life on 31 Dec 2023, almost three years before this page was written. Many business systems built between 2016 and 2021 still run on it: admin panels, booking screens, internal dashboards. They keep working, which is why the question tends to get postponed. This page explains what end of life actually means for those apps in December 2026, which problems are already known, and how to plan the move to Vue 3 without stopping the business.

Where Vue 2 stands today

ItemStatus
Final releaseVue 2.7.16
End of life31 Dec 2023
Official fixes after that dateNone: no features, updates, security or browser fixes
Still downloadable?Yes, from npm, CDNs and GitHub
npm packages marked deprecatedVue 2 core, vue-router 3.x and older, Vuex 3.x and older
Current stable VueVue 3.5 line (see our latest Vue release page)

The Vue team announced the date in a blog post on 15 Dec 2023. Vue 3 had been the default version since 7 Feb 2022, and Vue 2.7 (July 2022) was the last line to get new features; after that it received 18 months of bug and security fixes only. The team's reason for stopping was simple: maintaining two major versions side by side was not sustainable.

What end of life means in practice

An app on Vue 2 does not stop on a given date. Nothing is removed from npm, and a server that builds the app today will build it tomorrow. What changes is that nobody at the Vue project fixes anything any more. Three practical consequences follow:

  1. Security reports stay open. If a flaw is found in Vue 2 itself, there is no official patched version to install.
  2. Browser changes are your problem. The Vue team notes this is rare, but a change in a browser can break an old library, and no fix will come from upstream.
  3. The ecosystem moves on. Installing the packages shows deprecation warnings, and UI libraries, test tools and build tools put their effort into Vue 3. Hiring developers who want to work on Vue 2 also gets harder each year.

There is also a compliance side. The official end-of-life page points out that organisations bound by SLAs, contracts or internal security policies may not be allowed to run unsupported software, and suggests telling customers and security leads how vulnerabilities will be handled.

Known security issues after end of life

The Vue team describes Vue 2's security history as clean, with no major vulnerabilities. Since end of life, though, public vulnerability databases have recorded at least two issues against Vue 2 packages:

  • CVE-2024-6783 (vue-template-compiler): cross-site scripting through prototype pollution, published 23 Jul 2024 and rated medium (CVSS 3.1 score 4.8). The GitLab advisory lists all versions from 2.0.0 as affected, states that no fixed Vue 2 version exists, and notes that Vue 3 is not affected.
  • CVE-2024-9506 (vue): a regular-expression denial of service in the parseHTML function. Red Hat's tracker rates it low and shows no fixed version.

Both mainly matter when templates are compiled from content an attacker can influence, so the real risk depends on how your app is built. The point is less the score than the fact that neither will ever get an official fix. A scanner such as npm audit will keep flagging them, which by itself can fail a customer's security review.

Your three options

1. Stay on Vue 2, deliberately

The official pages accept that some teams cannot migrate yet. If you stay, do it on purpose: update to 2.7.16 (the last release and the base for any extended support), subscribe to CVE alerts for Vue (the Vue team suggests services such as OpenCVE or Snyk), and write down your plan for the people who need to know. The official LTS page also says that a stable app with no Vue 2 pain points may not gain enough from an upgrade to justify the cost. That is a fair position for an internal tool with a short remaining life.

2. Pay for extended support

The Vue team partnered with HeroDevs on "Never-Ending Support" for Vue 2: continued security and browser-compatibility patches, compatibility with Nuxt 2, Vuex and Vuetify 2, and a 14-day SLA for fixes, with no set end date. It is a paid commercial product; pricing is on the vendor's site, not on Vue's. It buys time, and it is the realistic option when a contract demands supported software today and a migration needs months.

3. Migrate to Vue 3

This is what the Vue team recommends whenever you can. You get the faster Proxy-based reactivity, better TypeScript support, Teleport, Suspense and fragments, a current build tool, and access to every library still being maintained. The rest of this page is about doing it in steps.

How to migrate: the gradual route

The official path is the migration build, published as @vue/compat. It is Vue 3 running in a Vue 2 compatible mode: most Vue 2 code keeps running, and every use of a changed API prints a warning. You fix warnings one by one while the app stays usable, and you can even ship to production in the middle, at a small cost in size and speed.

The order the migration guide gives, in short:

  1. Prepare. Move to the newer named and scoped slot syntax (already supported in Vue 2.6) and update the build tooling. Vue CLI users run vue upgrade; a custom webpack setup needs vue-loader 16 or later.
  2. Swap the packages. Install Vue 3 together with @vue/compat at the same version, replace vue-template-compiler with @vue/compiler-sfc, and alias vue to @vue/compat in the bundler with compatConfig: { MODE: 2 }.
  3. Fix compile errors first, such as template filters, which Vue 3 removed.
  4. Run the app and work through the warnings, your own code before third-party code.
  5. Rename transition classes. This is the one change that produces no warning, so search the project for -enter and -leave.
  6. Switch to createApp, then move to Vuex 4 (or Pinia) and Vue Router 4.
  7. Remove @vue/compat once the console is clean.
// vite.config.js during the migration (simplified from the official guide)
export default {
  resolve: { alias: { vue: '@vue/compat' } },
  plugins: [
    vue({ template: { compilerOptions: { compatConfig: { MODE: 2 } } } })
  ]
}

What usually takes the most time

From the official list of breaking changes, these are the ones that touch most business apps:

  • Global API: new Vue() and global Vue.use() become an app instance from createApp(). Global Vue.set and Vue.delete are gone.
  • Event bus: $on, $off and $once were removed, so the common "event bus" pattern needs replacing.
  • v-model on components changed and replaces .sync; v-if and v-for on the same element now have the opposite priority.
  • Filters were removed; they become methods or computed properties.
  • $listeners merged into $attrs, and $attrs now includes class and style.
  • Lifecycle names: beforeDestroy and destroyed become beforeUnmount and unmounted.
  • Watching arrays triggers only on replacement unless you add deep.

The real blocker: dependencies

The migration build only covers Vue's documented API. A UI library that relies on Vue 2 internals, such as Vuetify 2 or Element UI, will not run through it. Those libraries have to be replaced by their Vue 3 versions (Vuetify 3, Element Plus) or by something else, and that usually means touching every screen. Check this list first: it decides the size of the project more than your own code does. Two other limits from the guide: Vue 3 does not support Internet Explorer 11, and custom server-side rendering setups must move from vue-server-renderer to @vue/server-renderer.

Tooling to move to at the same time

The migration guide's recommendations: Vite instead of Vue CLI (which is in maintenance), Pinia as the recommended store (Vuex 4 also works with nearly the same API), the official Vue extension for VS Code instead of Vetur, and vue-tsc for type checking.

How to decide

  • Short-lived internal tool, no external audit: stay on 2.7.16, monitor CVEs, plan its replacement.
  • Customer-facing app under a contract or security review: extended support now, migration on a schedule.
  • App you will keep developing for years: migrate. Every new feature written in Vue 2 is code you will rewrite later.

Many of the Vue 2 systems we see sit on top of an old Laravel back end, and it often makes sense to plan both upgrades together. Our custom software service handles this kind of staged migration. If you want an estimate based on your dependency list, contact us.

FAQ

Does my Vue 2 app stop working after end of life?

No. It keeps running, and the packages stay on npm and the CDNs. What stopped on 31 Dec 2023 is official maintenance: no fixes for security problems or browser changes.

Is Vue 2.7 still supported?

No. Vue 2.7 was the last Vue 2 line and 2.7.16 is the final release. Its 18 months of long-term support ended with the rest of Vue 2 on 31 Dec 2023.

Can I migrate one page at a time?

Not by running Vue 2 and Vue 3 side by side in one app, but the migration build gives a similar effect: the whole app moves to Vue 3 in compatibility mode, then you fix components one by one, and a component can opt into full Vue 3 behaviour on its own.

Should I go straight to Vue 3.6?

Not yet. On the date of this page Vue 3.6 is still a release candidate. Migrate to the stable 3.5 line; moving from 3.5 to 3.6 later is a minor upgrade.

Is Pinia required instead of Vuex?

No. Vuex 4 supports Vue 3 with almost the same API, so existing stores can move with little change. Pinia is the recommended store for new code, and many teams switch to it gradually after the migration.

How long does a Vue 2 to Vue 3 migration take?

It depends mostly on the UI library and other dependencies, not on the number of pages. An app built on documented Vue APIs with Vue 3 ready libraries can move in weeks; one built on Vuetify 2 or Element UI needs its screens rebuilt. Audit the dependency list before giving any estimate.

Official sources

Visual Innovate

Written by the Visual Innovate team, the people who build, host and follow up systems, websites and apps for our clients in Jordan, Saudi Arabia, Oman and Egypt. We follow the official sources and update this page when something changes.

Are you our next Success Partner?

Tell us the problem as you see it. Within one working day we'll come back with how we understand it and a clear first step.