mosh-hamedani / vega

A sample vehicle dealer app built with Angular 2, ASP.NET Core and Entity Framework Core. This is part of my Udemy course: "Build a Real-world App with ASP.NET Core and Angular 2".
168 stars 125 forks source link

Tabpage does not work when using angular 4 instead of angular 2 #6

Open jlgrau opened 7 years ago

jlgrau commented 7 years ago

Hello

On the vehicle details page, when I apply the code as was shown in the demo, clicking the photo tab will redirect me to the following link: http://localhost:5000/home#photos.

This does not work since I have migrated to angular 4. In Chrome I have the exception: DomException failed to execute 'queryselector' on 'element' '* x' is not a valid selector I have read this is due to the # character but I cannot find a way to fix it. 

Please help?