# Vue.js

> A JavaScript framework for screens made of small parts. Many find it easy to learn.

**Field:** Software Development  
**Category:** Web Development  
**Also known as:** Vue, VueJS

## Think of it like

Think of it like a friendly toolbox with clear labels. It is easy to pick up and grows with you.

## Definition

Vue is a JavaScript framework for building screens from components. Each component can live in one file that holds its HTML, its code and its styles. It updates the page on its own when data changes. Many people find it easy to learn, and it can be added to an old page bit by bit. It has its own router and state tools.

## Example

Vue was created by Evan You and first released in 2014. Lucy adds it to one page of an old site to make a live search box.

## Example code

```html
<template>
  <p>{{ message }}</p>
</template>
```

The part of a Vue file that shows a message on the page.

## Why it matters

Vue is a gentle way into front-end work. Many large sites use it.

## Common mistake

Mixing the two ways of writing components in one project without a plan. Pick one style and keep to it.

## Three principles

- **Components.** HTML, code and styles in one file.
- **Updates itself.** Data changes, the page follows.
- **Easy to start.** Add it bit by bit.

## Related terms

- [React](https://learn.benibix.com/term/development/react)
- [UI Component](https://learn.benibix.com/term/development/component)
- [Svelte](https://learn.benibix.com/term/development/svelte)
- [Angular](https://learn.benibix.com/term/development/angular)

## Told apart from

- [React vs Vue.js](https://learn.benibix.com/compare/react-vs-vue): Both build screens from small parts. React is a library you add tools to as you need them. Vue comes with more of its own tools and is often called easier to learn.

---

Source: https://learn.benibix.com/term/development/vue
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
