You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
777 B
22 lines
777 B
const routes = [
|
|
{
|
|
path: '/',
|
|
component: () => import('layouts/FullscreenLayout.vue'),
|
|
children: [
|
|
{ path: '', component: () => import('pages/Index.vue') }
|
|
]
|
|
},
|
|
{
|
|
path: '/',
|
|
component: () => import('layouts/DefaultLayout.vue'),
|
|
children: [
|
|
{ path: 'dashboard', component: () => import('pages/Dashboard.vue') },
|
|
{ path: 'category/:categoryCode', props: true, component: () => import('pages/StockItems.vue') },
|
|
{ path: 'item/:itemRef', props: true, component: () => import('pages/StockItem.vue') },
|
|
{ path: 'print-settings', props: true, component: () => import('pages/PrintSettings.vue') },
|
|
{ path: ':shortId', props: true, component: () => import('pages/StockItem.vue') }
|
|
]
|
|
}
|
|
]
|
|
|
|
export default routes
|
|
|