vue routes refactoring

This commit is contained in:
Peter Papp
2021-08-20 17:00:35 +02:00
parent fb6dfbe7b4
commit c697f8a451
9 changed files with 780 additions and 701 deletions
+58
View File
@@ -0,0 +1,58 @@
const routesAuth = [
{
name: 'SuccessfullyVerified',
path: '/successfully-verified',
component: () =>
import(/* webpackChunkName: "chunks/email-verified" */ '../views/Auth/SuccessfullyEmailVerified'),
meta: {
requiresAuth: false
},
},
{
name: 'SuccessfullySend',
path: '/successfully-send',
component: () =>
import(/* webpackChunkName: "chunks/email-verified" */ '../views/Auth/SuccessfullySendEmail'),
meta: {
requiresAuth: false
},
},
{
name: 'SignIn',
path: '/sign-in',
component: () =>
import(/* webpackChunkName: "chunks/sign-in" */ '../views/Auth/SignIn'),
meta: {
requiresAuth: false
},
},
{
name: 'SignUp',
path: '/sign-up',
component: () =>
import(/* webpackChunkName: "chunks/sign-up" */ '../views/Auth/SignUp'),
meta: {
requiresAuth: false
},
},
{
name: 'ForgottenPassword',
path: '/forgotten-password',
component: () =>
import(/* webpackChunkName: "chunks/forgotten-password" */ '../views/Auth/ForgottenPassword'),
meta: {
requiresAuth: false
},
},
{
name: 'CreateNewPassword',
path: '/create-new-password',
component: () =>
import(/* webpackChunkName: "chunks/create-new-password" */ '../views/Auth/CreateNewPassword'),
meta: {
requiresAuth: false
},
},
]
export default routesAuth