Menu
×
   ❮   
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AWS AI GO KOTLIN SASS VUE GEN AI CYBERSECURITY DATA SCIENCE
     ❯   

Vue Tutorial

Vue HOME Vue Intro Vue Directives Vue v-bind Vue v-if Vue v-show Vue v-for Vue Events Vue v-on Vue Methods Vue Event Modifiers Vue Forms Vue v-model Vue CSS Binding Vue Computed Properties Vue Watchers Vue Templates

Scaling Up

Vue Why, How and Setup Vue First SFC Page Vue Components Vue Props Vue v-for Components Vue $emit() Vue Fallthrough Attributes Vue Scoped Styling Vue Local Components Vue Slots Vue v-slot Vue Scoped Slots Vue Dynamic Components Vue Teleport Vue HTTP Request Vue Template Refs Vue Lifecycle Hooks Vue Provide/Inject Vue Routing Vue Form Inputs Vue Animations Vue Animations with v-for Vue Build Vue Composition API

Vue Reference

Vue Built-in Attributes Vue Built-in Components Vue Built-in Elements Vue Component Instance Vue Directives Vue Instance Options Vue Lifecycle Hooks

Vue Examples

Vue Examples Vue Exercises Vue Quiz Vue Certificate

Vue Tutorial

Learn Vue

Vue is a popular JavaScript framework.

User interfaces built in Vue updates automatically when data changes.

Vue is easy to learn.

Start learning Vue now »

This Tutorial

This tutorial is specially designed to help you learn Vue as quickly and efficiently as possible.

First, you will learn the basics of Vue: text interpolation, directives, and how to incorporate events and forms into your project.

Then you will learn everything else you need to know about Vue:

Computed properties, watchers, methods, setup for Single-File Components (SFCs, *.vue files), and more.


Try it Yourself Examples in Every Chapter

In every chapter, you can edit the examples online, and click on a button to view the result.

Example

<h1>"Hello, World!" Example</h1>

<div id="app">{{ message }}</div>
Try it Yourself ยป


What You Should Already Know

Before you study Vue, you should have a basic understanding of:


Vue History

Evan You, a Google employee using AngularJS, started to develop Vue in 2013.

Vue version 1.0 was released in 2015.


Vue Exercises

Test Yourself With Exercises

Exercise:

What is the name of the programming language missing here?

Vue is a popular  framework.

Start the Exercise


Vue Quiz ?

Learn by taking a quiz! The quiz will give you a signal of how much you know about Vue.

Start VueQuiz


My Learning

Track your progress with the free "My Learning" program here at W3Schools.

Log in to your account, and start earning points!

This is an optional feature. You can study W3Schools without using My Learning.



Learn by Examples

Learn by examples! This tutorial supplements all explanations with clarifying examples.

See All Vue Examples