I currently have two applications, app1 and app2. App1 serves as a website at www.wxample.com with a button. My goal is to implement code in app2 that allows me to click the button on app1 and be redirected to the Login Panel in app2 for the workers module.
The following snippet is from the main page in routes.js:
{
path: '/',
component: () => import('pages/Index')
},
{
path: '/app/workers',
component: () => import('layouts/workers'),
children: [
{
path: 'main',
component: () => import('pages/workers/main')
}
]
},
... other components
This code snippet is part of Index.vue:
{
title: 'workers',
moduleId: 123,
intent: '/app/workers/main',
loginType: 'uzt',
icon: 'fas fa-user',
active: true,
beta: true
}
The Login Panel appears as a popup using the Quasar framework. My ultimate aim is to seamlessly redirect users from app1 to app2 for the purpose of logging in.