
export default [
    {
        path: "/account",
        name: "account",
        component: () => import("@/view/account/Account.vue"),
        meta: { hideHeader: false  },

        children: [
            // { path: '', redirect: { name: 'account-help-support' } }, // 默认右侧展示
    
            // Settings
            {
              path: 'settings/personal-info',
              name: 'account-settings-personal',
              component: () => import('@/view/account/settings/Personal.vue'),
              meta: { label: 'Personal info',hideHeader: false  },
            },
            {
              path: 'settings/profile-questions',
              name: 'account-settings-questions',
              component: () => import('@/view/account/settings/Questions.vue'),
              meta: { label: 'Profile questions',hideHeader: false  },
            },
    
            // Help
            {
              path: 'help/get-support',
              name: 'account-help-support',
              component: () => import('@/view/account/help/Support.vue'),
              meta: { label: 'Get support',hideHeader: false  },
            },
            {
              path: 'help/contact-us',
              name: 'account-help-contact',
              component: () => import('@/view/account/help/Contact.vue'),
              meta: { label: 'Contact us',hideHeader: false  },
            },
    
            // Legal
            {
              path: 'legal/terms',
              name: 'account-legal-terms',
              component: () => import('@/view/account/legal/Terms.vue'),
              meta: { label: 'Terms & conditions',hideHeader: false  },
            },
            {
              path: 'legal/privacy',
              name: 'account-legal-privacy',
              component: () => import('@/view/account/legal/Policy.vue'),
              meta: { label: 'Privacy policy',hideHeader: false  },
            },
          ],
    },

]