src/router/index.js
@@ -5,6 +5,8 @@ // import generalRouter from './modules/general'; import systemRouter from './modules/system'; import datasRouter from './modules/datas'; import alarmRouter from './modules/alarm'; import statisticsRouter from './modules/statistics'; /* Layout */ const Layout = () => import('@/layout/index.vue'); @@ -79,6 +81,8 @@ // generalRouter, systemRouter, datasRouter, alarmRouter, statisticsRouter, // 404 page must be placed at the end !!! { path: '/:pathMatch(.*)*', redirect: '/404', meta: { hidden: true }} ];