Tuesday, January 30, 2018

Angular - Getting Started with Angular and Visual Studio Code

Download and Install

Visual Studio Code (could use Visual Studio also or many other editors)
npm
Angular CLI
Angular Quickstart App

Setup

Open the View -> Interactive Terminal and type npm install to install all the packages specified in packages.json. Files will be put in node_modules which can safely be excluded from source control if desired since it can be rather large.


Running your app

Open the View -> Interactive Terminal and type npm start. This will build, start the web server, and open the browser.

Stopping your app

Go back to the Interactive Terminal and type Control-C and then Y to stop the web server.

Making Changes

If you make changes to the .html files the changes are automatically updated in the browser.

2 comments:

Search Optimization said...

great content and very much useful to the visitors. Looking for more updates in future.

Selenium Training in Chennai

Helen C Miller said...

This is a great article on different software development blogs available. Whilst there is a lot of content, there are some awesome developers that are also worth. I'd also recommending keeping an eye on these Yiioverflow software developers for Nodejs, Angualr, Ionic, ReactJS and Yiiframework.