Vue CLI 3 Quick Start Guide

Imsirovic, Ajdin

  • 出版商: Packt Publishing
  • 出版日期: 2019-04-30
  • 售價: $1,410
  • 貴賓價: 9.5$1,340
  • 語言: 英文
  • 頁數: 200
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1789950341
  • ISBN-13: 9781789950342
  • 相關分類: Vue.js
  • 海外代購書籍(需單獨結帳)

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

商品描述

The sprawling landscape of various tools in JavaScript web development is becoming overwhelming. This book will show you how Vue CLI 3 can help you take back control of the tool chain. To that end, we'll begin by configuring webpack, utilizing HMR, and using single-file .vue components. We'll also use SCSS, ECMAScript, and TypeScript. We'll unit test with Jest and perform E2E testing with Cypress.

This book will show you how to configure Vue CLI as your default way of building Vue projects. You'll discover the reasons behind using webpack, babel, eslint, and other modern JavaScript toolchain technologies. You'll learn about the inner workings of each through the lens of Vue CLI 3. We'll explore the extendibility of Vue CLI with the built-in settings, and various core and third-party plugins.

Vue CLI helps you work with Vue components, routers, directives, and services in the Vue ecosystem. While learning these concepts, you'll examine the evolution of JavaScript. You'll learn about use of npm, IIFEs, modules in JavaScript, Common.js modules, task runners, npm scripts, module bundlers, and webpack. You'll get familiar with the reasons why Vue CLI 3 is set up the way it is. You'll also learn to perform linting with ESLint and Prettier.

Towards the end, we'll introduce you to working with styles and SCSS. Finally, we'll show you how to deploy your very own Vue project on Github Pages.

商品描述(中文翻譯)




JavaScript 網頁開發中各種工具的廣泛應用已讓人感到不堪負荷。本書將向您展示 Vue CLI 3 如何幫助您重新掌控工具鏈。為此,我們將從配置 webpack、使用 HMR 和使用單文件 .vue 組件開始。我們還將使用 SCSS、ECMAScript 和 TypeScript。我們將使用 Jest 進行單元測試,並使用 Cypress 進行 E2E 測試。

本書將向您展示如何將 Vue CLI 配置為構建 Vue 項目的默認方式。您將通過 Vue CLI 3 的視角了解使用 webpack、babel、eslint 和其他現代 JavaScript 工具鏈技術的原因。我們將通過內部運作方式來探索每個技術。我們還將探索 Vue CLI 的可擴展性,包括內置設置以及各種核心和第三方插件。

Vue CLI 幫助您在 Vue 生態系統中使用 Vue 組件、路由器、指令和服務。在學習這些概念的同時,您將了解 JavaScript 的演進。您將了解 npm 的使用、IIFEs、JavaScript 中的模塊、Common.js 模塊、任務運行器、npm 腳本、模塊打包工具和 webpack。您將熟悉 Vue CLI 3 的設置方式及其原因。您還將學習使用 ESLint 和 Prettier 進行代碼檢查。

最後,我們將向您介紹如何使用樣式和 SCSS。最後,我們將向您展示如何在 Github Pages 上部署您自己的 Vue 項目。