Script
|
Properties returned from data() become reactive state and will be exposed on
|
|
Methods are functions that mutate state and trigger updates. They can be bound as event handlers in templates. |
|
Lifecycle hooks are called at different stages of a component's lifecycle. This function will be called when the component is mounted |
|
Tracks other reactive state used in its computation as dependencies. It caches the result and automatically updates it when its dependencies change. |
|
The watch callback is called when prop changes, and receives the new value as the argument |
|
Register child component |
inside child component
|
Child component can accept input from the parent |
inside child component
|
Child component emits events to the parent |
Comments
Related