mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 12:34:13 +00:00
update route.js
This commit is contained in:
@@ -9,6 +9,7 @@ const Home = () => import('~/pages/home').then(m => m.default || m)
|
||||
const Settings = () => import('~/pages/settings/index').then(m => m.default || m)
|
||||
const SettingsProfile = () => import('~/pages/settings/profile').then(m => m.default || m)
|
||||
const SettingsPassword = () => import('~/pages/settings/password').then(m => m.default || m)
|
||||
const SettingsAdmin = () => import('~/pages/settings/admin').then(m => m.default || m)
|
||||
|
||||
// const Admin = () => import('~/pages/admin/adminhome').then(m => m.default || m)
|
||||
const Admin = () => import('~/pages/admin/index').then(m => m.default || m)
|
||||
@@ -35,7 +36,8 @@ export default [
|
||||
children: [
|
||||
{ path: '', redirect: { name: 'settings.profile' } },
|
||||
{ path: 'profile', name: 'settings.profile', component: SettingsProfile },
|
||||
{ path: 'password', name: 'settings.password', component: SettingsPassword }
|
||||
{ path: 'password', name: 'settings.password', component: SettingsPassword },
|
||||
{ path: 'admin', name: 'settings.admin', component: SettingsAdmin }
|
||||
] },
|
||||
|
||||
// Booking
|
||||
|
||||
Reference in New Issue
Block a user