⚠️ This lesson is retired and might contain outdated information.

Vue in 60 Seconds

Rodrigo Pombo
InstructorRodrigo Pombo
Share this video with your friends

Social Share Links

Send Tweet
Published 3 years ago
Updated 2 years 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.

egghead
egghead
~ 5 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today