Vue 2 is end-of-life
End of life as of 2023-12-31. Replacement: Vue 3 (vue@^3), following the Vue 3 migration guide. Source: Vue 2 LTS, EOL & Extended Support.
Check a version:
evergreen check pkg:npm/vue
Vue 2 has reached end of life and is no longer actively maintained. After December 31st, 2023 it receives no updates, including security and browser compatibility fixes.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | End of life |
| Severity | high |
| Ecosystem | npm |
| Component | pkg:npm/vue |
| Affected versions | vers:npm/>=2.0.0\|<3.0.0 |
| Date from the source | 2023-12-31 |
| Replacement | Vue 3 (vue@^3), following the Vue 3 migration guide |
| Evidence last seen | 2026-10-21 |
| Reviewed | 2026-10-21 by arminazimi |
| Review due | 2027-10-21 (365 days after the last review) |
| Rule ID | npm.package.vue.eol-2 |
Sources
- Vue 2 LTS, EOL & Extended Support (accessed 2026-10-21)
- Vue 3 Migration Guide (accessed 2026-10-21)
- Vue 3 Migration Guide: Migration Build (accessed 2026-10-21)
- Vue 3 Migration Guide: Breaking Changes (accessed 2026-10-21)
- Vue 3 Migration Guide: Global API (accessed 2026-10-21)
Migration
Constraints
- Preserve the behavior the application depends on, and check each Vue 2 behavior listed in the Vue 3 breaking changes against the reported files.
- Keep a single Vue runtime in the build: when the project uses vue-template-compiler, replace it with @vue/compiler-sfc.
Steps
- Choose the upgrade path. Upgrade straight to Vue 3, or install @vue/compat at the same version as vue and alias vue to it to run Vue 2 compatible behavior first. vue-cli projects can run vue upgrade to update @vue/cli-service.
- Update the Vue dependencies. Set vue to a 3.x version in dependencies, and replace vue-template-compiler with @vue/compiler-sfc in devDependencies when present. Custom webpack setups upgrade vue-loader to ^16.0.0.
- Replace the Vue 2 global API. At each reported import, replace new Vue() root instances with createApp() and move global configuration onto the application instance.
- Clear migration build warnings. Build and run the application, fix each compatibility warning until none remain, then remove @vue/compat and switch the compiler to Vue 3 mode.
Verification
npm ls vue: Confirm that one Vue 3 release resolves and no Vue 2 copy remains.npm run build --if-present: Compile the application and surface any remaining compiler warnings.npm test --if-present: Run the repository tests when defined.
Detected by
The npm detector. See Detectors and Compatibility.
Related
Same ecosystem
- abab is deprecated
- @angular/core v18 and older are no longer supported
- @angular/core v19 is no longer supported
- @angular/core v20 reaches end of life on 2026-11-28
- @angular/core v21 reaches end of life on 2027-06-30
- @angular/core v22 reaches end of life on 2028-06-30
- are-we-there-yet is no longer supported
- babel-eslint is deprecated
Data
This page is generated from registry/npm.json, rule npm.package.vue.eol-2, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated