Skip to content

Commit

Permalink
feat(routes): add HelloRoute
Browse files Browse the repository at this point in the history
  • Loading branch information
kiki-le-singe committed Jan 2, 2017
1 parent ec31c9d commit beb81a0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/common/routes/HelloRoute.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default () => ({
path: 'hello',
getComponent: async (location, cb) => {
const component = await System.import('common/views/HelloView')
cb(null, component.default)
}
})

0 comments on commit beb81a0

Please sign in to comment.