Vue.js: Up and Running: Building Accessible and Performant Web Apps (Paperback)

Callum Macrae

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

商品描述

Get a brisk introduction to building fast, interactive single-page web applications with Vue.js, the popular JavaScript framework that organizes and simplifies web development. With this practical guide, you’ll quickly move from basics to custom components and advanced features—including JSX, the JavaScript syntax extension.

Author Callum Macrae shows you how to use the most useful libraries in the Vue ecosystem, such as vue-router for routing, vuex for state management, and vue-test-utils for testing. If you’re a frontend developer familiar with JavaScript, HTML, and CSS, this book will show you how to develop a fully featured web application using Vue.

  • Learn Vue.js basics, including its use of templates to display data on a page
  • Set up Vue projects from scratch, or use vue-cli to set up from a template
  • Create a maintainable codebase by splitting code into self-contained components
  • Discover how Vue.js works with CSS to style your websites and applications
  • Use render functions and JSX, rather than templates, to determine what Vue displays
  • Control how code is executed and displayed with vue-router
  • Manage state in one centralized place with the Vuex library
  • Write unit tests to ensure your Vue components don’t break in the future

商品描述(中文翻譯)

快速入門Vue.js,這個流行的JavaScript框架可以組織和簡化網頁開發,並建立快速、互動的單頁網路應用程式。這本實用指南將帶領您從基礎知識到自定義元件和高級功能,包括JavaScript語法擴展JSX。

作者Callum Macrae將向您展示如何使用Vue生態系統中最有用的庫,例如用於路由的vue-router、用於狀態管理的vuex,以及用於測試的vue-test-utils。如果您是熟悉JavaScript、HTML和CSS的前端開發人員,本書將向您展示如何使用Vue開發功能完整的網路應用程式。

本書內容包括:
- 學習Vue.js的基礎知識,包括使用模板在頁面上顯示數據
- 從頭開始設置Vue專案,或使用vue-cli從模板開始設置
- 通過將代碼拆分為獨立的元件來創建可維護的代碼庫
- 了解Vue.js如何與CSS一起使用,為您的網站和應用程式設計樣式
- 使用渲染函數和JSX來確定Vue顯示的內容,而不是使用模板
- 使用vue-router控制代碼的執行和顯示方式
- 使用Vuex庫在一個集中的位置管理狀態
- 編寫單元測試,以確保您的Vue元件在未來不會出錯