eratzlaff / ngupgrade-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular upgrade demo

This application is based on the Angular 2 Quickstart and is intended to provide an example of a real-world ng-ugprade setup. This app doesn't yet have test samples. Sorry!

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.

We recommend nvm for managing multiple versions of node and npm.

Install npm packages

See npm and nvm version notes above

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

If the typings folder doesn't show up after npm install please install them manually with:

npm run typings -- install

The npm start command first compiles the application, then simultaneously re-compiles and runs the lite-server. Both the compiler and the server watch for file changes.

Shut it down manually with Ctrl-C.

About

License:MIT License


Languages

Language:JavaScript 47.7%Language:TypeScript 41.9%Language:HTML 8.9%Language:CSS 1.5%