Angular 2 Tutorial 16: Routing (Shopping Application Part - 3)

preview_player
Показать описание
Learn about routing and how it works in Angular 2 and how to route to different pages in Angular 2.
Рекомендации по теме
Комментарии
Автор

Hi Mehul,
The code you are copying from main.ts at 5:40, it has been changed on angular2 website.
so the thing is after installing that new package.json which is provided in angular2 documentation right now, the server just doesn't start after "npm start". It always show some bunch of error msgs in terminal and server never starts.
Please try to resolve this issue. I am very serious about it. There are many who are facing the same issue.

prasadankit
Автор

Hi @5.56, instead of the component you mention, I can run my code only by importing

sabarisri
visit shbcf.ru