Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@Component({ ... })
@RouteConfig([
{ path: '/', name: 'Home', component: Home },
{ path: '/users', name: 'Users', component: About },
{ path: '/user:id', name: 'User' component: User }
])
export class App {
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment