vue 2.* 未开始,但有些开发经验需要记录
时间:2020-06-19 16:19:39
收藏:0
阅读:67
全局配置
silent
optionMergeStrategies
devtools
errorHandler
warnHandler
ignoredElements
keyCodes
performance
productionTip
全局 API
Vue.extend
Vue.nextTick
Vue.set
Vue.delete
Vue.directive
Vue.filter
Vue.component
Vue.use
Vue.mixin
Vue.compile
Vue.observable
Vue.version
选项 / 数据
data
props
propsData
computed
methods
watch
选项 / DOM
el
template
render
- 函数式组件在重新构建时会导致父组件也重新构建
renderError
选项 / 生命周期钩子
beforeCreate
created
beforeMount
mounted
beforeUpdate
updated
activated
deactivated
beforeDestroy
destroyed
errorCaptured
选项 / 资源
directives
filters
components
选项 / 组合
parent
mixins
extends
provide / inject
选项 / 其它
name
delimiters
functional
model
inheritAttrs
comments
实例 property
vm.$data
vm.$props
vm.$el
vm.$options
vm.$parent
vm.$root
vm.$children
vm.$slots
vm.$scopedSlots
vm.$refs
vm.$isServer
vm.$attrs
vm.$listeners
实例方法 / 数据
vm.$watch
vm.$set
vm.$delete
实例方法 / 事件
vm.$on
vm.$once
vm.$off
vm.$emit
实例方法 / 生命周期
vm.$mount
vm.$forceUpdate
vm.$nextTick
vm.$destroy
指令
v-text
v-html
v-show
v-if
v-else
v-else-if
v-for
v-on
v-bind
v-model
v-slot
v-pre
v-cloak
v-once
特殊 attribute
key
ref
is
slot
slot-scope
scope
内置的组件
component
transition
transition-group
keep-alive
slot
VNode 接口
服务端渲染
原文:https://www.cnblogs.com/qq3279338858/p/13163068.html
评论(0)