Getting to Know Vue.js: Learn to Build Single Page Applications in Vue from Scratch

Brett Nelson

  • 出版商: Apress
  • 出版日期: 2018-08-31
  • 售價: $2,150
  • 貴賓價: 9.5$2,043
  • 語言: 英文
  • 頁數: 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》,您將看到如何將可重用代碼與自定義組件結合,從而可以創建適應您特定業務需求的可重用代碼片段。您還將探索如何使用單文件組件和Vue.js命令行界面(CLI)在單個文件中構建組件,並根據需要添加構建工具。

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

您將學到什麼:
- 檢查Vue.js模板語法
- 使用綁定方法
- 通過比較構建數據存儲的選項來管理應用程序的狀態
- 適應與Vue.js兼容的更強大的選項
- 查看不同的路由器選項,包括創建自己的路由器,使用Vue-router和使用Page.js。

本書適合對HTML、CSS和JavaScript有一定了解的軟件開發人員;對單頁應用程序框架有一定了解將有所幫助,但不是必需的。