text: /**
   * The file is defined "/setting" route.
   *
   * @author Seven Du <shiweidu@outlook.com>
   */
  
  import User from '../component/User';
  import UserAdd from '../component/user/UserAdd';
  import UserManage from '../component/user/UserManage';
  import Manage from '../component/user/Manage';
  import Roles from '../component/user/Roles';
  import RoleManage from '../component/user/RoleManage';
  import Abilities from '../component/user/Abilities';
  import Setting from '../component/user/Setting';
  import Recommends from '../component/user/Recommend';
  import Register from '../component/user/Register';
  import UserTrashed from '../components/pages/user-trashed.page';
  import * as vendorPages from '../pages/user-vendor';
  
  const routers = {
    path: 'users',
    component: User,
    children: [
      { path: '', component: Manage },
      { path: 'manage/:userId', component: UserManage },
      { path: 'add', component: UserAdd },
      { path: 'roles', component: Roles },
      { path: 'roles/:role', component: RoleManage },
      { path: 'abilities', component: Abilities },
      { path: 'setting', component: Setting },
      { path: 'recommends', component: Recommends },
      { path: 'register', component: Register },
      { path: 'trashed', component: UserTrashed },
      { path: 'vendor-easemob', component: vendorPages.Easemob, name: 'user:vendor/easemob' },
      { path: 'vendor-qq', component: vendorPages.QQ, name: 'user:vendor/qq' },
      { path: 'vendor-wechat', component: vendorPages.WeChat, name: 'user:vendor/wechat' },
      { path: 'vendor-weibo', component: vendorPages.Weibo, name: 'user:vendor/weibo' },
      { path: 'vendor-wechat-mp', component: vendorPages.WeChatMp, name: 'user:vendor/wechat-mp' },
    ]
  };
  
  export default routers;
  