深入實戰 Vue 開發

殷榮檜

  • 出版商: 清華大學
  • 出版日期: 2021-09-01
  • 定價: $474
  • 售價: 8.5$403
  • 語言: 簡體中文
  • 頁數: 266
  • 裝訂: 平裝
  • ISBN: 730258611X
  • ISBN-13: 9787302586111
  • 相關分類: Vue.js
  • 立即出貨 (庫存 < 4)

  • 深入實戰 Vue 開發-preview-1
  • 深入實戰 Vue 開發-preview-2
  • 深入實戰 Vue 開發-preview-3
深入實戰 Vue 開發-preview-1

買這商品的人也買了...

商品描述

本書以Vue 3版本為基礎,通過大量的實戰案例深入分析了Vue 接口(API)的特性、原理與應用場景,著重介紹了每個API的使用頻率、細節、註意點和在項目中的應用,書中給出了編者在大廠工作中總結的大量Vue開發中的項目經驗與案例,有助於讀者深入理解Vue的原理並提升項目經驗。通過閱讀本書,讀者能夠在沒有接觸大型項目的情況下也可以瞭解Vue在大型項目中的使用。 本書適合有一定Vue基礎想深入提升技能的開發人員以及對Vue 3技術感興趣的各類開發人員使用。

作者簡介

殷榮檜,碩士,畢業於中國科學技術大學軟件工程專業,主要從事前端開發及各種主流語言和框架的研究,近年來致力於Vue.js在前端開發中的應用,曾主導開發多個大型項目,現就職於騰訊公司,任職前端開發工程師。

目錄大綱

第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