Skip to content

Vue

Vue 2, a JavaScript framework for building user interfaces. Now end-of-life and no longer maintained.

Stars
212k
Forks
33.6k
Licence
MIT
Language
TypeScript
Last update
2.1 years ago
Type
Library

No commits in over a year — check for forks or alternatives before adopting.

What it is

Vue is a JavaScript framework for building web user interfaces, designed so it can be added gradually to a page or used to build large single-page applications. This repository holds Vue 2, which reached End of Life on December 31st, 2023 and no longer receives features or fixes. The README directs new projects to Vue 3 in the separate vuejs/core repository.

  • Keep an existing Vue 2 single-page app running on its current version
  • Add interactive components to an existing web page incrementally
  • Explore the Vue 2 ecosystem packages such as vue-router and vuex

Great for

  • Maintaining an existing Vue 2 application that cannot yet be upgraded
  • Teams studying how Vue 2 was structured
  • Developers who need to read Vue 2 source or documentation

Not ideal for

  • Starting a new project, because the README says to use Vue 3 instead
  • Teams with compliance or security requirements for unmaintained software, who would need a paid extended-support option mentioned in the README rather than this repo alone
Step-by-step guide: how to use VueInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    Install with a package manager

    Install the Vue 2 package from npm

    npm install vue@2
  2. 2

    Run it

    • Install the package with npm as shown above
    • Import Vue in your project or load it from a CDN
    • Create a Vue instance and mount it to an element on the page
    • Refer to the documentation at v2.vuejs.org for examples
  3. 3

    Get the most out of it

    • Use the official documentation and live examples at v2.vuejs.org
    • Add vue-router for single-page application routing
    • Add vuex for large-scale state management
    • Use vue-devtools in the browser to inspect components
    • Follow the v3-migration guide if moving to a supported version

Downloads

Strengths

  • Large existing install base and a long track record, with 212,574 GitHub stars
  • Incrementally adoptable, so it can be used for small widgets or full apps
  • Released under the permissive MIT license

Trade-offs

  • No new features, updates, or fixes since End of Life, so security issues will not be patched here
  • Does not support browsers below ES5 such as IE8 and below
  • Migration to Vue 3 is recommended by the README, which implies some upgrade work

How it compares

ProjectStarsTypeLevelUpdatedBest for
vue (this)212kLibraryintermediate2.1 years agoMaintaining an existing Vue 2 application that cannot yet be upgraded
react252kLibraryintermediate6 days agoDevelopers building interactive web interfaces with JavaScript
svelte88.5kLibraryintermediate4 days agoDevelopers who want to build interactive websites with less boilerplate
angular101kFrameworkintermediate5 days agoDevelopers building larger, multi-screen web applications
ionic-framework52.7kLibraryintermediate4 days agoWeb developers who want to build mobile apps using existing web skills
fe-interview26.3kLearning resourcebeginner1.0 years agoFront-end developers preparing for job interviews

Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.