export default (store) => ({
  path: '*',
  getComponent (nextState, next) {
    require.ensure([], (require) => {
      const component = require('./components/Error404').default
      next(null, component)
    })
  }
})
