Angular CLIがわかる本



Angular CLIがわかる本

ユースケースから学ぶAngular CLIガイド


Angular CLIの最新バージョン (6.0〜)への追従が完了する見込みが薄いため、当面の間販売を停止させていただきます。

Angularの公式開発ツールであるAngular CLIについて、さまざまなコマンドや設定をユースケースから解説します。

第1章ではAngular CLIの基本について紹介し、簡単なチュートリアルをおこないます。


本書はAngular CLIのアップデートに応じて更新され、取り上げるユースケースも順次増やしていく予定です。


Suguru Inatomi
Suguru Inatomi
  • Frontend Developer
  • Contributor to Angular
  • Lead of Angular Japan User Group

Table of Contents

  • 1. 本書について
    • 1.1 フィードバックについて
    • 1.2 対応バージョン
  • 2. Angular CLIの基礎
    • 2.1 Angular CLIとは
    • 2.2 はじめてのAngular CLI
    • 2.3 Angular CLIの学び方
  • 3. Angular CLIを使いこなす
    • 3.1 ng newを使いこなす
    • 3.2 ng generateを使いこなす
    • 3.3 ng buildを使いこなす
    • 3.4 ng testを使いこなす
    • 3.5 E2Eテストの実行
    • 3.6 Lintの実行
    • 3.7 ng updateを使いこなす
  • 4. Schematics
    • 4.1 Schematicsの概要
    • 4.2 ng generateコマンドを拡張する
  • 5. ng ejectとwebpack
    • 5.1 ng ejectコマンド
    • 5.2 @ngtools/webpackモジュール
  • 6. インテグレーション
    • 6.1 Angular Material
    • 6.2 Google Analytics
    • 6.3 Firebase / AngularFire
    • 6.4 Progressive Web Apps
  • 7. ng buildの裏側
    • 7.1 ng buildとwebpack設定



Do Well. Do Good.

Authors have earned$11,193,725writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub