类似推荐
编辑推荐
本书适合有一定Vue基础想深入提升技能以及对Vue 3技术感兴趣的开发人员使用。
内容简介
本书以Vue 3版本为基础,通过大量的实战案例深入分析了Vue 接口(API)的特性、原理与应用场景,着重介绍了每个API的使用频率、细节、注意点和在项目中的应用,书中给出了编者在大厂工作中总结的大量Vue开发中的项目经验与案例,有助于读者深入理解Vue的原理并提升项目经验。通过阅读本书,读者能够在没有接触大型项目的情况下也可以了解Vue在大型项目中的使用。
作者简介
作者殷荣桧,硕士,毕业于中国科学技术大学软件工程专业,主要从事前端开发及各种主流语言和框架的研究,近年来致力于Vue.js在前端开发中的应用,曾主导开发多个大型项目,现就职于腾讯公司,任职前端开发工程师。
章节目录
版权信息
内容简介
序1
序2
前言
第1章 应用配置
1.1 errorHandler
1.2 warnHandler
1.3 globalProperties
1.4 isCustomElement
1.5 optionMergeStrategies
1.6 performance
第2章 应用API
2.1 component
2.2 config
2.3 directive
2.4 mixin
2.5 mount
2.6 provide
2.7 unmount
2.8 use
第3章 全局API
3.1 createApp
3.2 defineComponent
3.3 defineAsyncComponent
3.4 resolveComponent
3.5 resolveDynamicComponent
3.6 resolveDirective/withDirectives
3.7 createRenderer
3.8 nextTick
第4章 选项式API
4.1 Data
4.1.1 data属性
4.1.2 props属性
4.1.3 computed属性
4.1.4 methods属性
4.1.5 watch属性
4.1.6 emits属性
4.2 DOM
4.2.1 template
4.2.2 render
4.3 生命周期钩子
4.3.1 beforeCreate
4.3.2 created
4.3.3 beforeMount
4.3.4 mounted
4.3.5 beforeUpdate
4.3.6 updated
4.3.7 activated
4.3.8 deactivated
4.3.9 beforeUnmount/unmounted
4.3.10 errorCaptured
4.3.11 renderTracked/renderTriggered
4.4 选项/资源
4.4.1 directives
4.4.2 components
4.5 组合
4.5.1 mixins
4.5.2 extends
4.5.3 provide/inject
4.5.4 setup
4.6 杂项
4.6.1 name
4.6.2 delimiters
4.6.3 inheritAttrs
第5章 实例property
5.1 $data
5.2 $props
5.3 $el
5.4 $options
5.5 $parent
5.6 $root
5.7 $slots
5.8 $refs
5.9 $attrs
第6章 实例方法
6.1 $watch
6.2 $emit
6.3 $forceUpdate
6.4 $nextTick
第7章 指令
7.1 v-text
7.2 v-html
7.3 v-show
7.4 v-if
7.5 v-else/v-else-if
7.6 v-for
7.7 v-on
7.8 v-bind
7.9 v-model
7.10 v-slot
7.11 v-pre
7.12 v-cloak
7.13 v-once
7.14 v-is
第8章 特殊指令
8.1 key
8.2 ref
8.3 is
第9章 内置组件
9.1 component
9.2 transition
9.3 transition-group
9.4 keep-alive
9.5 slot
9.6 teleport
第10章 响应性API
10.1 响应式基础API
10.1.1 reactive
10.1.2 readonly
10.1.3 isProxy
10.1.4 isReactive
10.1.5 isReadonly
10.1.6 toRaw
10.1.7 markRaw
10.1.8 shallowReactive
10.1.9 shallowReadonly
10.2 refs
10.2.1 ref
10.2.2 unref
10.2.3 toRef
10.2.4 toRefs
10.2.5 isRef
10.2.6 customRef
10.2.7 shallowRef
10.2.8 triggerRef
10.3 computed与watch
10.3.1 computed
10.3.2 watchEffect
10.3.3 watch
第11章 组合式API
11.1 setup
11.2 生命周期钩子
11.3 provide/inject
11.4 getCurrentInstance
深入实战Vue开发是2021年由清华大学出版社出版,作者殷荣桧。
得书感谢您对《深入实战Vue开发》关注和支持,如本书内容有不良信息或侵权等情形的,请联系本网站。