Skip to content

thesufian/angular2-tutorial-tour-of-heroes-in-javascript

Repository files navigation

angular2-tutorial-tour-of-heroes-in-javascript

Angular2 tutorial: Tour of Heroes in plain JavaScript.

Official angular.io tutorial page still contains no tutorial for plain JavaScript, so trying to convert typescript tutorial material to javascript material.

Prerequisites

Node.js and npm are essential to Angular development.

Get it now if it's not already installed on your machine.

Verify that you are running at least node v4.x.x and npm 3.x.x by running node -v and npm -v in a terminal/console window. Older versions produce errors.

Install npm packages

Install the npm packages described in the package.json and verify that it works:

Attention Windows Developers: You must run all of these commands in administrator mode.

npm install
npm start

npm scripts defined in the package.json:

  • npm start - runs the compiler and a server at the same time, both in "watch mode".
  • npm run lite - runs the lite-server, a light-weight, static file server, written and maintained by John Papa and Christopher Martin with excellent support for Angular apps that use routing.

About

Angular2 tutorial: Tour of Heroes in plain JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published