LoginSignup
2
2

More than 5 years have passed since last update.

angular-cliでプロジェクト作成

Last updated at Posted at 2017-06-27

Angular

なぜか流行っていないangularを使ってwebアプリを作っていきます。

インストール

Angularの環境構築をするために
angular-cliをインストールします。

npm install -g @angular/cli

*Node.jsのv6.9.0以上とnpmのv3以上が必要です。

プロジェクト作成

new コマンドを使ってプロジェクトを作ります

ng new Rayyyy --style=sass

--style=sasscssではなくsassを使うと指定しています。
何も指定しなければ通常通りcssになります。

とりあえず、サーバー起動します。

npm start

http://localhost:4200/
にアクセスします。

image.png

とりあえず、初期画面です。

次回は、UIkitというフレームワークを導入していきます。

2
2
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
2
2