Getting to Know Vue.js: Learn to Build Single Page Applications in Vue from Scratch
暫譯: 認識 Vue.js:從零開始學習構建單頁應用程式

Brett Nelson

  • 出版商: Apress
  • 出版日期: 2018-08-31
  • 售價: $2,210
  • 貴賓價: 9.5$2,100
  • 語言: 英文
  • 頁數: 280
  • 裝訂: Paperback
  • ISBN: 1484237803
  • ISBN-13: 9781484237809
  • 相關分類: ScratchVue.js
  • 海外代購書籍(需單獨結帳)

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

商品描述

Learn how to render lists of items without repeating your code structure and how to work with conditional rendering items and event handling. Containing all you need to know to get started with Vue.js, this book will take you through using build tools (transpile to ES5), creating custom components, state management, and routers. 

With Getting to Know Vue.js, you'll see how to combine reusable code with custom components, allowing you to create snippets of reusable code to suit your specific business needs. You'll also explore how to use Single File Components and the Vue.js Command Line Interface (CLI) to build components in a single file and add in build tools as you see fit.

Getting started with a new Single Page Application (SPA) JavaScript framework can be an overwhelming task, but Vue.js makes this daunting task simple and easy to learn, allowing you to start implementing business needs with just a script reference to the library and the custom JavaScript required for your use case. Starting with a little reference and a handful of lines of custom JavaScript, you will have a complete Single Page Application before you know it.

What You'll Learn

  • Examine Vue.js templating syntax
  • Work with binding methods 
  • Manage the state of your app by comparing your options of building a data store 
  • Adapt the more robust options compatible with Vue.js
  • Review different router options, including creating your own router, using the Vue-router and using Page.js. 

Who This Book Is For

Software developers with an understanding of HTML, CSS and JavaScript; prior understanding of a Single Page Application framework would be useful but not essential.

商品描述(中文翻譯)

學習如何在不重複代碼結構的情況下渲染項目列表,以及如何處理條件渲染項目和事件處理。本書包含了開始使用 Vue.js 所需的所有知識,將引導您使用構建工具(轉譯為 ES5)、創建自定義組件、狀態管理和路由。

在《認識 Vue.js》中,您將看到如何將可重用代碼與自定義組件結合,讓您能夠創建符合特定業務需求的可重用代碼片段。您還將探索如何使用單文件組件(Single File Components)和 Vue.js 命令行介面(CLI)在單個文件中構建組件,並根據需要添加構建工具。

開始使用新的單頁應用程式(SPA)JavaScript 框架可能是一項艱巨的任務,但 Vue.js 使這項艱鉅的任務變得簡單且易於學習,讓您只需引用庫和針對您的使用案例所需的自定義 JavaScript,即可開始實現業務需求。從少量的參考和幾行自定義 JavaScript 開始,您將在不知不覺中擁有一個完整的單頁應用程式。

您將學到什麼


  • 檢查 Vue.js 模板語法


  • 使用綁定方法

  • 通過比較構建數據存儲的選項來管理應用程式的狀態

  • 調整與 Vue.js 兼容的更強大的選項

  • 回顧不同的路由選項,包括創建自己的路由器、使用 Vue-router 和使用 Page.js。

本書適合誰
對 HTML、CSS 和 JavaScript 有一定了解的軟體開發人員;對單頁應用程式框架的先前理解將是有用的,但不是必需的。