Friday, April 10, 2020

Tips on Angular

Today's Learning on Angular 8

What is the purpose of Wildcard route?

Answer:

If the URL doesn't match any predefined routes then it causes the router to throw an error and crash the app. In this case, you can use wildcard route. A wildcard route has a path consisting of two asterisks to match every URL.

For example, you can define PageNotFoundComponent for wildcard route as below.

{ path: '**', component: PageNotFoundComponent }

ok, thats it for today!

How to mount old versions path environment variable

  1) First get to this forum https://superuser.com/questions/265532/how-to-extract-environment-variables-from-system-restore-point-windows-7...