export default function route(page) {
  switch (page) {
    case 'profile':
      import(
        /* webpackPrefetch: true */
        /* webpackChunkName: "profile" */
        './pages/profile.js'
      )
      return page

    case 'appliance-register':
      import('./pages/appliance/register')
      return page

    case 'application':
      import('./pages/application/application')
      return page

    case 'applications':
      import('./pages/application/applications')
      return page

    case 'application-register':
      import('./pages/application/register')
      return page

    case 'app-bindings':
      import('./pages/app-binding/app-bindings')
      return page

    case 'app-binding':
      import('./pages/app-binding/app-binding')
      return page

    case 'appliance-home':
      import('./pages/appliance/home')
      return page

    case 'appliance':
      import('./pages/appliance/appliance')
      return page

    case 'roles':
      import('./pages/role/role-management')
      return page

    case 'users':
      import('./pages/user/user-management')
      return page

    case 'partners':
      import('./pages/partner/partner-management')
      return page

    case 'domains':
      import('./pages/domain/domain-management')
      return page

    case 'attributes':
      import('./pages/attribute/attribute-set-management.js')
      return page

    case 'auth-providers':
      import('./pages/auth-provider/auth-provider-management.js')
      return page
  }
}
