The most important part of the style guide
- Side Effects (triggers effects outside the component)
el
- Global Awareness (requires knowledge beyond the component)
name
,parent
- Component Type (changes the type of the component)
functional
- Template Modifiers (changes the way templates are compiled)
delimiters
,comments
- Template Dependencies (assets used in the template)
components
,directives
,filters
- Composition (merges properties into the options)
extends
,mixins
- Interface (the interface to the component)
inheritAttrs
,model
,props
/propsData
- Local State (local reactive properties)
data
,computed
- Events (callbacks triggered by reactive events)
watch
beforeCreate
,created
,beforeMount
,mounted
beforeUpdate
,updated
,activated
deactivated
,beforeDestroy
,destroyed
- Non-Reactive Properties (instance properties independent of the reactivity system)
methods
- Rendering (the declarative description of the component output)
template
/render
,renderError
- Definition (provides the component options)
is
- List Rendering (creates multiple variations of the same element)
v-for
- Conditionals (whether the element is rendered/shown)
v-if
/v-else-if
/v-else
,v-show
,v-cloak
- Render Modifiers (changes the way the element renders)
v-pre
,v-once
- Global Awareness (requires knowledge beyond the component)
id
- Unique Attributes (attributes that require unique values)
ref
,key
- Two-Way Binding (combining binding and events)
v-model
- Other Attributes
- all unspecified bound & unbound attributes
- Events (component event listeners)
v-on
- Content (overrides the content of the element)
v-html
,v-text