Skip to content

Commit

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

0 comments on commit f7d855d

Please sign in to comment.