Problems with Routing

14 views
Skip to first unread message

JoJo Röder

unread,
May 16, 2019, 1:48:08 AM5/16/19
to Angular and AngularJS discussion
Hi everybody,

I´ve got some Problems wth Routing in the latest Version of Angular. (updated today)

is there anything you have to consider whilst "serving" the Project? Because I coded all right and even downloaded and tested die Angular "Tour of heroes" and the routing doesn´t work. I tried to install Angular on a second Laptop. Didn´t work either. It just works with the "href" command but not with "routerLink". 
Do have any idea why?

Thank you :)

Sander Elias

unread,
May 16, 2019, 3:31:56 AM5/16/19
to Angular and AngularJS discussion
Hi Jojo,

Can you reproduce this on StackBlitz? 
Or create a small GitHub repo that demonstrates your issue? I use the router in latest and it does work fine.

Regards
Sander

JoJo Röder

unread,
May 17, 2019, 6:01:12 AM5/17/19
to Angular and AngularJS discussion
Hi Sander, 
thank you for your answer. Take a look at the Project Tour of Heroes which works perfectly fine on StackBlitz. My Problem is, that Routing doesn´t work with any Project, if I try to serve it on my local Computer. I downloaded this Tour of Heroes example and served it and the Routing didn´t work.

Regards JoJo

Sander Elias

unread,
May 17, 2019, 9:46:23 AM5/17/19
to Angular and AngularJS discussion
Hi JoJo,

I believe that it doesn't run on your computer. But that's a bit hard to debug for me. Put your project on github/bitbucket/whatever, and share it with me, I can then take a look at the problem

Regards
Sander
Reply all
Reply to author
Forward
0 new messages