0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Angular環境構築

0
Last updated at Posted at 2018-11-04

はじめに

ひっそりと大改修...

参考サイト

◆Angular 日本語ドキュメンテーション
 https://angular.jp/docs

◆Angularをバージョン指定でインストールし、開発環境構築
 https://qiita.com/tsutsumi32233/items/5175d3a8c6e21654aff4

◆Angular の環境構築方法入門
 https://webbibouroku.com/Blog/Article/angular-env
  ※これはちょっと古い
 

導入

Node.js:v10.16.3

 https://nodejs.org/download/release/
  node --version
  npm:v6.9.0

※バージョンアップ時は下記等を参考に
◆Node.js 12正式版が登場、1年ぶりのLTS対象バージョン。起動高速化、TLS1.3対応、ES6モジュールの実験的サポートなど
 https://www.publickey1.jp/blog/19/nodejs_121ltstls13es6.html

◆The Difference Between Node.js 10 LTS and Node.js 12 LTS
 https://nodejs.org/tr/blog/uncategorized/10-lts-to-12-lts/

VSCode :v1.41.1

 https://code.visualstudio.com/updates/v1_41

Angular:v8.2.4!?(github見る限りv8.2.2、ngコマンドだとv.8.2.14)

 https://github.com/angular/angular-cli
  下記フォルダー削除
   %USERPROFILE%\AppData\Roaming\npm-cache
   %USERPROFILE%\AppData\Roaming\npm
   C:\Program Files\nodejs
  npm install -g @angular/cli@8.2
  ng version
  
  cd D:\Angular
  ng new my-app4 --style=scss

チューニング

配置(deploy)先をDocument Root以外にする際の注意

◆Angular CLIでサブディレクトリにビルドする方法
 http://apoc.jp/angular-cli-subdir/
  ※オプション(--output-path/--base-href)
◆angular5で画像表示
 https://teratail.com/questions/148265
  ※assetsの画像表示パターン

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?