Vue.js從入門到項目實戰(升級版)

Vue.js從入門到項目實戰(升級版)

《Vue.js從入門到項目實戰(升級版)》是清華大學出版社於2022年出版的書籍,作者是劉漢偉。

基本介紹

  • 中文名:Vue.js從入門到項目實戰(升級版)
  • 作者:劉漢偉
  • 出版社:清華大學出版社
  • 出版時間:2022年5月1日
  • 定價:89 元
  • ISBN:9787302595878
內容簡介,作者簡介,圖書目錄,

內容簡介

本書從Vue框架的基礎語法講起,逐步深入Vue進階實戰,並在最後配合項目實戰案例,重點演示Vue在項目開發中的一些套用。在系統地講解Vue的相關知識之餘,本書力圖使讀者更深入地理解Vue項目開發。 本書共分為11章,涵蓋的主要內容有前端技術的發展歷程、Vue基本介紹、Vue語法、Vue選項、Vue內置組件、Vue項目化、使用Vue開發電商類網站、使用Vue開發企業官網、使用Vue開發移動端資訊類網站、使用Vue開發工具類網站等。 本書內容通俗易懂,案例豐富,實用性強,特別適合Vue的初學者和從業人員閱讀,同時適合職業生涯遇到“瓶頸”的前端從業人員和其他編程愛好者閱讀。另外,本書也適合作為相關培訓機構的教材。

作者簡介

劉漢偉,一線軟體工程師,活躍於GitHub等開源社區,接觸過許多優秀項目的代碼,有豐富的專業知識和開發經驗,曾負責並上線多個大型Web項目。2016年起開始在網上發表部落格,短時間內各平台累計訪問量超過10萬人次,深受讀者好評,並受邀成為CSDN專業講師、騰訊雲+社區專欄作者。

圖書目錄

第一篇 概念篇——紮根於基礎
第1章 引言 ···························································002
1.1 前端技術的發展 ···················································002
1.1.1 從靜態走向動態 ·······················································002
1.1.2 從後端走向前端 ·······················································003
1.1.3 從前端走向全端 ·······················································005
1.2 MVVM 族員—Vue.js ··········································008
1.2.1 從MVC到MVVM ···················································008
1.2.2 Vue.js簡介 ·····························································009
1.3 Vue與React ························································010
1.3.1 虛擬DOM ······························································010
1.3.2 功能性組件 ·····························································011
1.3.3 輕量級—將與核心庫無關的業務封裝成獨立庫 ·············011
1.3.4 視圖模板 ································································012
1.3.5 其他 ······································································013
1.4 Vue與Angular ·····················································013
1.4.1 模板語法 ································································013
1.4.2 髒檢測 ···································································014
1.4.3 雙向數據綁定 ··························································014
1.4.4 學習曲線 ································································015
第2章 Vue基本介紹 ···············································016
2.1 安裝和引入 ·························································016
2.1.1 如何引入Vue.js ·······················································016
2.1.2 安裝Vue Devtools ····················································017
2.2 Vue實例介紹 ······················································019
2.2.1 簡單實例 ································································019
2.2.2 生命周期 ································································020
目錄
VIII
Vue. js從入門到項目實戰(升級版)
2.3 數據回響式原理 ···················································024
2.3.1 初識數據鏈 ·····························································024
2.3.2 函式式編程 ·····························································025
2.3.3 Vue中的數據鏈 ·······················································026
2.3.4 數據綁定視圖 ··························································027
第3章 Vue語法 ·····················································031
3.1 插值綁定 ····························································031
3.1.1 文本插值 ································································031
3.1.2 HTML插值 ····························································033
3.2 屬性綁定 ····························································034
3.2.1 指令v-bind ·····························································034
3.2.2 類名和樣式綁定 ·······················································035
3.3 事件綁定 ····························································038
3.3.1 指令v-on ·······························································038
3.3.2 常見修飾符 ·····························································040
3.3.3 按鍵修飾符 ·····························································042
3.3.4 組合修飾符 ·····························································043
3.4 雙向綁定 ····························································045
3.4.1 指令v-model ···························································045
3.4.2 v-model與修飾符 ·····················································048
3.4.3 v-model與自定義組件 ···············································050
3.5 條件渲染和列表渲染 ·············································052
3.5.1 指令v-if和v-show ···················································052
3.5.2 指令v-for ·······························································054
3.5.3 列表渲染中的key ·····················································059
第4章 Vue選項 ·····················································060
4.1 常見選項及其用法 ················································060
4.1.1 數據選項及其用法 ····················································060

相關詞條

熱門詞條

聯絡我們