is
1 | <!DOCTYPE html> |
ref及子组件data
1 | <!DOCTYPE html> |
父子组件的数据传递
1 | <!DOCTYPE html> |
组件参数校验与非props特性
1 | <!DOCTYPE html> |
组件绑定原生事件
1 | <!DOCTYPE html> |
非父子组件间的传值
1 | <!DOCTYPE html> |
插槽
单个插槽
1 | <!DOCTYPE html> |
具名插槽
1 | <!DOCTYPE html> |
作用域插槽
1 | <!DOCTYPE html> |
动态组件与v-once指令
1 | <!DOCTYPE html> |