mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 11:00:39 +00:00
- added not found page
- Fixed admin menu in regular license - allow_homepage default setting in regular license - frontend build
This commit is contained in:
Vendored
+12
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user