UNPKG

@userfrosting/sprinkle-account

Version:
94 lines (93 loc) 2.78 kB
export default [ { path: '/account/sign-in', name: 'account.login', meta: { guest: { redirect: { name: 'home' } }, title: 'LOGIN', description: 'LOGIN.PAGE' }, component: () => import('../views/PageLogin.vue') }, { path: '/account/register', name: 'account.register', meta: { guest: { redirect: { name: 'home' } }, title: 'REGISTER', description: 'REGISTER.PAGE' }, component: () => import('../views/PageRegister.vue') }, { path: '/account/forgot-password', name: 'account.forgot-password', meta: { guest: { redirect: { name: 'home' } }, title: 'PASSWORD.RESET', description: 'PASSWORD.RESET.PAGE' }, component: () => import('../views/PageForgotPassword.vue') }, { path: '/account/verification', name: 'account.verification', meta: { guest: { redirect: { name: 'home' } }, title: 'ACCOUNT.VERIFICATION', description: 'ACCOUNT.VERIFICATION.EXPLAIN' }, component: () => import('../views/PageResendVerification.vue') }, { path: '/account/settings', name: 'account.settings', redirect: { name: 'account.settings.profile' }, meta: { auth: {}, title: 'ACCOUNT.SETTINGS', description: 'ACCOUNT.SETTINGS.DESCRIPTION' }, component: () => import('../views/PageUserSettings.vue'), children: [ { path: 'profile', name: 'account.settings.profile', meta: { permission: { slug: 'update_account_settings' } }, component: () => import('../views/PageUserSettingsProfile.vue') }, { path: 'password', name: 'account.settings.password', meta: { permission: { slug: 'update_account_settings' } }, component: () => import('../views/PageUserSettingsPassword.vue') }, { path: 'email', name: 'account.settings.email', meta: { permission: { slug: 'update_account_settings' } }, component: () => import('../views/PageUserSettingsEmail.vue') } ] } ]