Skip to content
BENIBIX Learn

Vue.js

Development🌐 Web DevelopmentFrameworks

Also known as Vue, VueJS

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

Think of it like

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

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.

Why it matters

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

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 code

html
<template>
  <p>{{ message }}</p>
</template>
The part of a Vue file that shows a message on the page.

Common mistake

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

Key takeaways

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

Compare