Skip to content

Instantly share code, notes, and snippets.

@burczu
Created February 17, 2016 08:17
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save burczu/b099f42afe6d06ddde22 to your computer and use it in GitHub Desktop.
@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