const routes: Routes = [
{ path: 'x', component: xComponent },
{ path: 'y', component: yComponent },
{ path: 'zComponent', component: zComponent }
];
Jeśli napiszę w adresie x mały przekieruje mnie na stronę komponentu, jeśli napiszę X Capital, wypisze nieprawidłowy adres URL.kątowa 2 trasy 3.0, z rozróżnianiem wielkości liter
Jak url niewrażliwy Case
Spróbuj tego: http://stackoverflow.com/a/39560520/1081079 – freshbm