Minor corrections
This commit is contained in:
@@ -9,12 +9,12 @@ client
|
|||||||
|
|
||||||
const account = new Account(client);
|
const account = new Account(client);
|
||||||
|
|
||||||
// // TODO: Auto-logout on session deletion / expiry
|
// TODO: Auto-logout on session deletion / expiry
|
||||||
// if (user.value) {
|
// account.get().then(
|
||||||
// client.subscribe('account', (response) => {
|
// client.subscribe('account', (response) => {
|
||||||
// console.log(response);
|
// console.log(response);
|
||||||
// });
|
// })
|
||||||
// }
|
// );
|
||||||
|
|
||||||
// export default boot(({ app, urlPath, redirect }) => {
|
// export default boot(({ app, urlPath, redirect }) => {
|
||||||
// });
|
// });
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ const routes: RouteRecordRaw[] = [
|
|||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
component: () => import('layouts/MainLayout.vue'),
|
component: () => import('layouts/MainLayout.vue'),
|
||||||
name: 'index',
|
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
component: () => import('pages/IndexPage.vue'),
|
component: () => import('pages/IndexPage.vue'),
|
||||||
|
name: 'index',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user