Skip to content
Learn at your own pace

Learn Vue

Create reactive web interfaces with Vue components, templates and the Composition API.

Students assemble a modular house from reusable pieces, alongside a laptop showing the same structure.
Build something bigger from reusable parts.
24lessons in 6 stages
48practice exercises
24project milestones
96quiz questions
96review cards

A clear place to start

Vue connects reactive data to templates. When the data changes, Vue updates the relevant interface, and components organize the page into reusable pieces.

What you need first

First learn JavaScript values, functions, arrays, objects, and modules. Know basic HTML and CSS before using single-file components.

Start with these ideas

  1. A ref stores reactive state, such as a completed-session count. A template displays that value.
  2. A computed value derives information, such as the number of remaining habits, from its reactive inputs.
  3. Props carry data into a component. Emitted events ask the parent to handle a change.

Connect it to a real project

Build a habit dashboard: render habits, handle completion events, derive a summary, preserve drafts, and test the workflow.

Study one concept at a time. Explain its everyday example in your own words, predict the worked example’s result, then try a small change. Use practice and quiz feedback to decide what to revisit. You can spread a lesson across several study sessions.

Set up your environment Tools, setup steps, and completion requirements

Start with the ideas above, then set up the tools below. Return to the starter example whenever a new term feels unfamiliar.

text
node --version
npm create vue@latest
# Select the project features you need, then enter the generated directory.
npm install
npm run dev
npm run build
# Examples using script setup belong in Vue single-file components.
# Commit the lockfile and document the generated test commands.

A free account saves your progress, notes, exercise evidence and spaced review cards. To complete a lesson, score at least 80% on its quiz, finish both exercises and the project checklist, and submit your project link with a reflection. Project evidence is self-reported; use the final portfolio rubrics to seek an independent code review.

Your Vue learning path

Work through these foundations in order, then bring them together in a project.

24 of 24 lessons · follow the stages in order

Start with a small example

Use this in a Vue single-file component. The ref stores the session count, and Vue updates the template when the button changes it.

<script setup>
import { ref } from 'vue';

const sessions = ref(0);
</script>

<template>
    <button @click="sessions++">
        Study sessions: {{ sessions }}
    </button>
</template>

Try it yourself

Add a computed value that shows how many sessions remain until a weekly goal is reached.

Put it into practice

Build a habit dashboard

Practice reactive state with a daily habit checklist.

  1. Display habits with a reusable habit-row component.
  2. Emit an event when a habit is completed.
  3. Calculate a completion summary with a computed value.
  4. Extract persistence into a composable and test completion behavior.
Keep exploring

Find your next course

Choose a language, build on it with a framework, or explore AI and search.

Showing 6 of 17 courses