Sie sind hier: Weblog

Tutorial: Migrating from AngularJS 1.x to Angular 2

Foto ,
25.10.2016 01:38:00

Prerequisites

Contents

  1. Download the Starterkit

    If you have the starterkit already, please run the following commands to get a clean starterkit with the newest version:

    git pull
    git reset --hard 
    npm install
    

    To run the sample use the following command:

    npm start
    

    After that, navigate to http://localhost:8081 and try to find some flights and passengers.

    You can change the port within the file webpack.conf.js (search for port).

  2. Refactoring to Components

  3. Migration with ngUpgrade (coming soon)

  4. Further Exercises (coming soon)