Added beginning of login functionality
This commit is contained in:
@@ -12,8 +12,38 @@ import ChildEditView from '@/components/child/ChildEditView.vue'
|
||||
import TaskAssignView from '@/components/child/TaskAssignView.vue'
|
||||
import RewardAssignView from '@/components/child/RewardAssignView.vue'
|
||||
import NotificationView from '@/components/notification/NotificationView.vue'
|
||||
import AuthLayout from '@/layout/AuthLayout.vue'
|
||||
import Signup from '@/components/auth/Signup.vue'
|
||||
import AuthLanding from '@/components/auth/AuthLanding.vue'
|
||||
import Login from '@/components/auth/Login.vue'
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/auth',
|
||||
component: AuthLayout,
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
name: 'AuthLanding',
|
||||
component: AuthLanding,
|
||||
},
|
||||
{
|
||||
path: 'signup',
|
||||
name: 'Signup',
|
||||
component: Signup,
|
||||
},
|
||||
{
|
||||
path: 'login',
|
||||
name: 'Login',
|
||||
component: Login,
|
||||
},
|
||||
{
|
||||
path: 'verify',
|
||||
name: 'VerifySignup',
|
||||
component: () => import('@/components/auth/VerifySignup.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/child',
|
||||
component: ChildLayout,
|
||||
|
||||
Reference in New Issue
Block a user