From Vue 2 to Vue 3

Lessons

1. From Vue 2 to Vue 3

2:19

2. The new v-model

7:19

3. Multi v-model bindings

9:47

4. v-model modifiers

10:40

5. The New $attrs

11:49

6. Multi root components

9:08

The New $attrs

Welcome back!

In this lesson we’re going to explore the changes that Vue 3 brings to the $attrs of a component.

Understanding these changes is fundamental to the creation of any type of custom components in Vue 3, as the new $attrs not only contains your HTML attributes like it did before, but now also your listeners, classes, and styl