Hi all, I recently get a problem and need your help.
When I use a param with . in angular2 route module, I can successfully 
router.navigate to the page, but this page can't be accessed directly, 
instead I will get a 404 Cannot GET error, is it a bug?

const routes: Routes = [
    { path: 'users/:username', component: UserComponent },
];

http://localhost:8080/users/ruochen.xu

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to