Vue in 60 Seconds

Rodrigo Pombo
InstructorRodrigo Pombo

Share this video with your friends

Send Tweet
Published 5 months ago
Updated 5 months ago

Learn Vue fast. This is a quick overview of how to use Vue core features compressed into one minute. Remember to pause the video if you need time to understand something!

This lesson uses Vue v3.

To learn more about Vue and the rest of the features we haven't covered, visit the official website.

Rodrigo Pombo: [0:01] You write a template, specify a DOM element, and Vue will load the render for you. You can put templates inside components and then use the component name in other templates. Templates can render dynamic data using this curly braces syntax. You can also declare input data and let the component's parent define it with attributes.

[0:24] Inside the curly braces, you can put any JavaScript expression. There's also a special syntax for handling events and a place to define components methods. This method changes the component's data so Vue will re-render this component on every click.

[0:42] It's also possible to trigger custom events, which is useful to pass data up to the component's parent. You can use the slot element to compose components, and you can use the v-for directive to render a list of elements.