Set default layout

This commit is contained in:
Julien Nahum 2023-01-28 12:50:30 +01:00
parent 2536368e77
commit ea85ed42fa
1 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,8 @@ async function beforeEach (to, from, next) {
router.app.setLayout(components[0].layout)
} else if (components[0].default && components[0].default.layout) {
router.app.setLayout(components[0].default.layout)
} else {
router.app.setLayout(null)
}
}