- Text can be bind inside the template using the mustache syntax
{{ name }}
or using v-directives
directive
- Different directives link
v-text
v-bind
link1 link2
v-if
and v-else
v-else-if
- wrapping the content (
template
tag)
v-show
link
v-for
v-on
(event handler) link
v-model
form handling
methods
In Vue.js, a method is a function that is associated with a Vue instance. Methods are used to perform actions in response to user interaction or other events
modifiers
: are the suffix that can be added either to the v-on directive or the v-model directive to add some functionality inline within the template
computed properties
link
- computed
getter
and setter
link
watchers
link1 link2
immediate
(watchers)
deep watcher
link