- added not found page

- Fixed admin menu in regular license
- allow_homepage default setting in regular license
- frontend build
This commit is contained in:
Peter Papp
2021-03-21 11:16:36 +01:00
parent db57bde4fc
commit a90311593b
6 changed files with 30 additions and 12 deletions
+12
View File
@@ -625,6 +625,17 @@ const routesIndex = [
},
},
]
const routesOthers = [
{
name: 'NotFound',
path: '*',
component: () =>
import(/* webpackChunkName: "chunks/not-found-shared" */ './views/Shared/NotFoundShared'),
meta: {
requiresAuth: false
},
},
]
const router = new Router({
mode: 'history',
@@ -635,6 +646,7 @@ const router = new Router({
...routesIndex,
...routesAuth,
...routesUser,
...routesOthers,
],
scrollBehavior(to, from, savedPosition) {
if (savedPosition) {