Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 4 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Vue

Progressive JavaScript framework for building interactive user interfaces.

Web frameworksNPM

GitHubWebsite

1. License

License from npm.

github.com/vuejs/core

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Vue does

Vue is built to be adopted in steps: the same core runs from a single CDN script tag on a static page up to a full single-page app compiled from <code>.vue</code> files, and its two API styles sit on one underlying system.

Vue popularity

80 / 100
Gid Score, #97 overall
26.8M
downloads a week, npm
55.1K
GitHub stars
169
agent projects use it
Vue: downloads per weeknpm, vue 26,822,809
Vue: GitHub starsvuejs/core 55,077

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Vue is used

  • Vue is a dependency in 169 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (3.5% of the 4,867 JavaScript/TypeScript ones), #5 of 76 in web frameworks.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 291; those are left out of every share on this page.
  • The most used alternative in our scan is React (2,038 projects).
  • Projects that use it most often also use vue-tsc (51.5%), VueUse (39.1%), Vite (55.0%).
  • It is more common in projects set up for Junie (10.8%) than for Devin Desktop (2.2%).

By coding agent

92 projects, 3.0%
80 projects, 2.4%
74 projects, 3.0%
19 projects, 4.0%
15 projects, 4.4%
11 projects, 2.3%
8 projects, 10.8%
6 projects, 2.2%

Often used with

In 51.5% of its projects
In 39.1% of its projects
In 55.0% of its projects
In 37.9% of its projects
In 32.5% of its projects
In 62.1% of its projects
In 57.4% of its projects
In 21.3% of its projects

Vue in practice

Strengths

Works from a plain script tag

You can load Vue from unpkg, jsdelivr or cdnjs and mount an app with no build step. The docs say this keeps setup simpler and suits static HTML or integration with a backend framework.

Two API styles, one engine

The Options API and the Composition API are not separate systems. The docs say the Options API is implemented on top of the Composition API, and core concepts are shared between them.

Script, template and scoped CSS in one file

A <code>.vue</code> Single-File Component keeps a component's logic, markup and styles together. The docs call SFCs a defining feature of Vue. They also call it the recommended format when your use case warrants a build setup.

Official scaffolder asks what you need

<code>create-vue</code> asks whether to add TypeScript, JSX, Vue Router, Pinia, Vitest, an end-to-end tool, ESLint, Prettier and Vue DevTools. The docs say to choose No when unsure.

Watch out for

Vue 2 support has ended

The docs cover Vue 3. They say Vue 2 support ended on Dec 31, 2023. For people upgrading from Vue 2, they point to the Migration Guide.

No build step means no <code>&lt;script setup&gt;</code>

The CDN route rules out <code>.vue</code> files. Many Composition API examples in the guide use <code>&lt;script setup&gt;</code>, which requires build tools. Without a build, the docs send you to the <code>setup()</code> option.

CDN examples use the development build

For production without a build tool, switch to the <code>.prod.js</code> dist files. That means <code>vue.global.prod.js</code> for the global build and <code>vue.esm-browser.prod.js</code> for the ESM build.

A Single-File Component with <script setup>

< script setup >
import { ref } from 'vue'
const count = ref ( 0 )
</ script >
< template >
< button @click = "count++" >Count is: {{ count }}</ button >
</ template >
< style scoped >
button { font-weight : bold ; }
</ style >

More about Vue

Funding
  • GitHub Sponsors: https://github.com/yyx990803
  • Open Collective: https://opencollective.com/vuejs
  • 140 GitHub sponsors

See all

Head to head
Packages around it
  • vue-router: Official router
  • @vue/test-utils: Component test utilities
  • @vue/eslint-config-typescript: ESLint config for TypeScript
  • @vue/tsconfig: Shared tsconfig presets
  • @vue/eslint-config-prettier: ESLint + Prettier config
  • @vue/compiler-sfc: .vue file compiler
More in Web frameworks

Alternatives

Vue This page

MITGid 8026.8M/wk

React

JavaScript library for building interactive user interfaces with components.

MITGid 96276M/wk

Astro

Modern static site builder with partial hydration and zero JavaScript by default.

MITGid 7812.5M/wk

Svelte

Compiler-based frontend framework for building reactive web interfaces with less boilerplate.

MITGid 7710.4M/wk

Compare Vue with another tool

Get started

Install it.

npm install vue

Rules for your agent

Paste into AGENTS.md or CLAUDE.md
## Vue
- Scaffold new apps with `npm create vue@latest`. The docs list Node.js `^22.18.0 || >=24.12.0` as a prerequisite.
- For full applications, use Composition API + Single-File Components. The docs reserve the Options API recommendation for no-build setups or low-complexity scenarios.
- Without a build step, `<script setup>` and `.vue` files are unavailable. Use the `setup()` option with the global or `vue.esm-browser.js` build.
- When shipping a no-build app, switch to `vue.global.prod.js` or `vue.esm-browser.prod.js`.
- In a custom build setup, make `vue` resolve to `vue.runtime.esm-bundler.js`, configure the compile-time feature flags, and replace `process.env.NODE_ENV` with `"production"`.
- Serve split ES module pages over `http://`, not by opening them via `file://`.
- Markdown docs are at `https://vuejs.org/llms.txt` and `/llms-full.txt`. Report runtime errors through `app.config.errorHandler`.