Home / Insights / Web and SaaS Development

Web and SaaS Development

Vue 2 End of Life: Planning a Vue 3 Migration for Business Applications

Vue 2 stopped receiving fixes at the end of 2023, yet many revenue-earning business applications still run on it. This guide helps you decide whether to migrate, extend support or rebuild, and how to sequence a Vue 3 migration without freezing your roadmap.

TopicsWeb and SaaS DevelopmentArchitecture and Modernization

Key takeaways

  • Vue 2 reached end of life on 31 December 2023 and no longer receives features, updates or fixes; the risk grows quietly through dependencies and browser changes.
  • Upgrade to Vue 2.7.16 first: it backports the Composition API and script setup, so new code can be written in a Vue 3-compatible style before you switch.
  • The dependency audit, not your own components, usually decides the timeline: UI kits, routers, state stores and build tooling all have their own major upgrades.
  • The official migration build (@vue/compat) lets you run Vue 3 in Vue 2 mode and fix warnings incrementally, but it is a temporary bridge, not a destination.
  • Extended support is a legitimate way to buy time, but it should come with a dated migration plan, not replace one.

If your customer portal, internal admin tool or SaaS dashboard was built between roughly 2016 and 2021, there is a good chance it runs on Vue 2. It works, users are happy, and nobody wants to spend a quarter rewriting front-end code that does not change what customers see. The difficulty is that Vue 2 is now an end-of-life framework. According to the official Vue end-of-life page, Vue 2 reached end of life on 31 December 2023 and no longer receives new features, updates or fixes.

This article is for CTOs, engineering managers and product owners who need to make a defensible decision about a Vue 2 application: migrate to Vue 3, pay for extended support, or rebuild. It explains what end of life really means for risk, the realistic migration paths, how to estimate and sequence the work, and how to keep shipping features while you do it. At PoliteTech our Vue.js developers build with Vue 3, Nuxt, Pinia and Vite, and carry out Vue 2 to Vue 3 migrations of existing apps; the approach below is the one we use when scoping that work.

What Vue 2 end of life means for a business application

End of life does not mean your application stops working. Vue 2 remains available through package managers and CDNs. What changes is that problems are no longer fixed upstream.

The real risks of staying

  • Security exposure through the dependency tree. The Vue EOL page notes that vulnerabilities can still surface through compromised or outdated dependencies even in mature projects. Your Vue 2 app likely depends on dozens of packages whose maintainers have also moved on.
  • Ecosystem drift. New versions of UI libraries, testing tools and build tooling target Vue 3. Each month you stay, the set of compatible, maintained packages shrinks.
  • Hiring and onboarding. Developers who learned Vue recently learned Vue 3 patterns. Options API code with mixins and filters takes longer for them to work in safely.
  • Compliance questions. Security questionnaires from enterprise customers increasingly ask whether you run supported versions of frameworks. “End of life since December 2023” is an awkward answer without a plan.
  • Browser changes. Browsers occasionally ship changes that break legacy libraries. It is rare, but nobody upstream will patch it for you.

What Vue 3 changes

Vue 3 is not a cosmetic update. The official migration guide lists the Composition API, <script setup>, Teleport, Fragments, the emits option and state-driven CSS variables among the new features, and groups breaking changes into the global API, template directives, components, render functions, custom elements and removed APIs such as filters, the events API and $children. Most application code survives, but plenty needs touching.

Action for this section

Write a one-page risk note for your leadership: which Vue 2 apps you run, what they earn or support, who uses them, and what would happen if a vulnerability appeared in a dependency next month.

Your options: migrate, extend, rebuild or retire

There are four realistic choices. Each can be right, depending on how long the application will live and how much it will change.

OptionBest whenMain benefitMain drawback
Incremental migration to Vue 3The app has years of life left and an active roadmapKeeps business logic and tests; spreads costRequires discipline over several months
Extended commercial support for Vue 2The app is stable, low-change or due for replacement within a defined periodSecurity patches without a code changeOngoing licence cost; ecosystem drift continues
Rebuild in Vue 3 (or another framework)The UX, data model or architecture needs rethinking anywayClean foundation and modern designHighest cost and delivery risk; feature freeze
Retire or consolidateUsage is low or the function exists elsewhereRemoves the risk entirelyRequires change management with users

About extended support

The official Vue EOL page points to a commercial extended support offering that provides ongoing security patches and compatibility with libraries such as Nuxt, Vuex and Vuetify 2. That is a reasonable way to buy time, particularly for regulated environments where an unpatched framework is unacceptable. Treat it as insurance with an end date: agree internally when the migration or replacement will be complete, and size the support period to match.

Why rebuilds are usually the wrong default

Rewriting a working application to change its framework rarely pays for itself unless the product also needs a new design or architecture. Rebuilds tend to discover undocumented business rules late and freeze the feature roadmap. If the main motivation is framework support, migrate. If you were going to redesign the product anyway, a rebuild becomes easier to justify. We discussed the same trade-off for back-end platforms in our guide to upgrading to Java 21 and Spring Boot 3 without a big bang.

How to assess the size of the migration

Teams usually estimate migration effort by counting components. That is a mistake. In our experience the dependency list, the build setup and the testing safety net determine the effort far more than component count.

The five-part audit

  1. Dependencies. List every Vue-related package and check whether a Vue 3 version exists. UI libraries matter most: the migration build documentation explicitly advises waiting for Vue 3 versions of libraries such as Vuetify, Quasar and Element UI rather than running their Vue 2 versions under compatibility mode.
  2. Build tooling. Vue CLI with webpack, a custom webpack setup or Vite? Many teams move to Vite during the migration, which is sensible but adds work.
  3. Removed patterns. Search for filters, the global event bus ($on, $off), $children, .native modifiers, inline-template and keyCode modifiers. Each occurrence is a known edit.
  4. State and routing. Vuex 3 and Vue Router 3 must move to Vuex 4 and Vue Router 4, or to Pinia for state.
  5. Test coverage. Without unit and end-to-end tests on critical journeys, you cannot tell whether a migrated screen behaves the same. Writing those tests may be the first work package.

A simple sizing grid

SignalSmaller migrationLarger migration
UI libraryOwn components or a library with a mature Vue 3 versionLibrary rewritten for Vue 3 with a different API
Use of removed APIsOccasional filtersEvent bus and mixins throughout
RenderingClient-side SPACustom SSR or Nuxt 2
TestsEnd-to-end coverage of key journeysLittle or no automated testing
TypeScriptNone, or strict and consistentPartial, with class-component decorators

For example, a 120-screen internal operations portal using its own component library and an event bus in a handful of places might be a modest project, while a 40-screen customer app built on a Vue 2 UI kit that was redesigned for Vue 3 could be larger. These examples are illustrative; run the audit before committing to a budget.

A step-by-step migration plan that keeps the roadmap moving

The goal is to migrate behind a stable application, shipping features throughout, rather than running a long branch that never merges.

Phase 1: get to the last Vue 2 release

Upgrade to Vue 2.7.16, the final Vue 2 release, which the EOL page strongly encourages. Vue 2.7, released in July 2022, backported the Composition API, <script setup> and CSS v-bind. From this point, write all new components in Composition API style so they move to Vue 3 with minimal edits. Note the 2.7 release notes: Vite projects should use @vitejs/plugin-vue2, and 2.7 moves to PostCSS 8, which can affect custom plugins.

Phase 2: clear the known breaking changes in Vue 2

  • Replace filters with methods or computed properties.
  • Replace the global event bus with a small emitter library or store actions.
  • Update deprecated slot syntax, which Vue 2.6 already supports in its new form.
  • Remove $children and .native usage where possible.

All of this can ship to production on Vue 2, in normal sprints, which de-risks the switch.

Phase 3: switch with the migration build

The official migration build, @vue/compat, is Vue 3 running in Vue 2 mode, emitting runtime warnings for changed behaviour. The documented workflow is to upgrade tooling, install Vue 3 with @vue/compat, alias vue to the compat build, fix compiler errors, then work through runtime warnings, starting with your own code. Along the way you move to createApp, Vuex 4 and Vue Router 4. Transition class names changed without producing a warning, so search for them manually.

Phase 4: remove the compat build

Once warnings are gone and no dependency relies on Vue 2 behaviour, switch to the standard Vue 3 build. The migration build documentation is clear that it is temporary; do not leave production on it indefinitely.

Phase 5: modernise opportunistically

Move Vuex modules to Pinia when you touch them. The Pinia migration guide confirms Pinia and Vuex can run side by side, so this can be done module by module: each module becomes a store, mutations become actions, and nested modules become separate stores that import each other.

Running the migration: team, testing and release strategy

Team shape

A migration goes best with a small, stable core who own the upgrade (often one senior Vue engineer plus one or two developers) while the rest of the team continues feature work. Rotating developers through the migration spreads knowledge but slows progress; a short pairing period at the start is usually enough.

Testing strategy

  • Characterisation tests first. Before changing anything, add end-to-end tests covering the journeys that make or save money: sign-in, search, checkout, approvals, reports.
  • Visual regression. Screenshots of key screens catch layout changes from UI library upgrades that unit tests miss.
  • Exploratory sessions. Time-boxed exploratory testing after each phase finds behaviour that scripted tests do not cover; our guide to structuring exploratory testing sessions explains how to run them.
  • Accessibility checks. Component library changes often alter focus handling and ARIA attributes. Re-test the criteria covered in our article on accessibility testing for WCAG 2.2.

Release strategy

Prefer frequent, small releases over a single cutover. Use feature flags for any screen rebuilt rather than migrated, keep a rollback path for the compat switch, and monitor front-end errors closely in the first weeks after each release.

Governance

Report progress as warnings remaining, dependencies upgraded and journeys covered by tests, not as a percentage complete. Those numbers are objective and tell leadership when it is safe to remove the compat build.

Costs, risks and how to keep them under control

Where the money goes

  • Dependency replacement. Swapping a UI kit or charting library is often the single biggest line item because it touches every screen.
  • Test creation. If tests are thin, budget for them explicitly; they also pay off long after the migration.
  • Tooling changes. Moving from Vue CLI to Vite usually speeds up development, but configuration, environment variables and proxy settings need rework.
  • Regression fixing. Subtle behaviour changes in v-model, attribute inheritance and watchers on arrays appear late. Keep contingency for them.

Common risks

RiskMitigation
Long-lived migration branch drifts from mainDo phases 1 and 2 on main in Vue 2; keep the compat switch short
Third-party library has no Vue 3 versionIdentify in the audit; replace or wrap it before switching
IE11 still required by a customerVue 3 does not support IE11, per the migration build docs; resolve the requirement before committing
Custom SSR setupPlan separately; the docs describe SSR migration as more involved
Hidden reliance on undocumented Vue 2 behaviourRefactor rather than expect the compat build to cover it

Action for this section

Before approving a budget, insist on the audit output: dependency list with Vue 3 status, counts of removed-API usage, test coverage of key journeys and the target build tool. An estimate without those inputs is a guess.

Vue 3 migration readiness checklist

  1. Inventory every Vue 2 application with its owner, users and business importance.
  2. Decide per app: migrate, extend support, rebuild or retire, with a date.
  3. Upgrade to Vue 2.7.16 and write new components in Composition API style.
  4. Complete the dependency audit and confirm Vue 3 versions or replacements.
  5. Remove filters, the event bus and other removed APIs while still on Vue 2.
  6. Add end-to-end and visual tests for critical journeys.
  7. Confirm no customer still requires IE11.
  8. Switch to Vue 3 with the migration build and track the warning count.
  9. Upgrade Vue Router and Vuex, and plan module-by-module Pinia adoption.
  10. Remove the migration build and run a final regression and accessibility pass.
  11. Update security questionnaires and internal documentation to reflect supported versions.

Frequently asked questions

Is it dangerous to keep running Vue 2 in production?

Not immediately, but risk increases over time. Vue 2 receives no fixes after 31 December 2023, and vulnerabilities can arrive through its dependencies. If you cannot migrate soon, use the final 2.7.16 release, monitor CVE feeds and consider commercial extended support.

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

It depends mainly on your UI library, use of removed APIs, build setup and test coverage rather than the number of screens. Run the five-part audit first; without it any duration is a guess.

Can we migrate gradually rather than all at once?

Yes. Upgrade to Vue 2.7, remove breaking patterns on Vue 2, then switch using the @vue/compat migration build and fix warnings incrementally. Pinia and Vuex can also run side by side during the transition.

Should we move to React instead of Vue 3?

Only if there is a strong reason beyond framework support, such as consolidating on one front-end stack across products. Moving frameworks is effectively a rebuild; Vue 3 lets you keep most of your components, tests and team knowledge.

Do we have to switch from Vuex to Pinia?

No. Vuex 4 works with Vue 3. Pinia is the recommended store for new Vue projects, and migrating module by module when you touch the code is a low-risk path.

Sources and methodology

Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.

  1. Vue.js: Vue 2 End of Life — accessed 9 November 2026. Supports the 31 December 2023 EOL date, what EOL means, the recommendation to use 2.7.16, and extended support options.
  2. Vue.js: Vue 3 Migration Guide — accessed 9 November 2026. Supports the list of new features and breaking change categories.
  3. Vue.js: Migration Build (@vue/compat) — accessed 9 November 2026. Supports the step-by-step compat workflow, library guidance, IE11 and SSR limitations and the temporary nature of the build.
  4. Vue.js Blog: Vue 2.7 “Naruto” Released (July 2022) — accessed 9 November 2026. Supports the backport of the Composition API and script setup to 2.7, and upgrade notes for Vite and PostCSS 8.
  5. Pinia: Migrating from Vuex — accessed 9 November 2026. Supports module-to-store conversion, removing mutations and running Pinia alongside Vuex during migration.

Still running a Vue 2 application your business depends on?

We can audit your dependencies and test coverage, give you a sized migration plan and provide Vue 3 developers to carry it out alongside your team.