Changed for managing products

This commit is contained in:
Dean Bartok-Thomas
2019-08-29 14:12:16 +01:00
parent 106e15fb73
commit 90e790cee4
6 changed files with 454 additions and 0 deletions

View File

@@ -230,6 +230,37 @@ export const asyncRoutes = [
}
]
},
{
path: '/products',
component: Layout,
redirect: '/products/list',
name: 'Products',
meta: {
title: 'Products',
icon: 'example'
},
children: [
{
path: 'create',
component: () => import('@/views/products/create'),
name: 'CreateProduct',
meta: { title: 'Create Products', icon: 'edit' }
},
{
path: 'edit/:id',
component: () => import('@/views/products/edit'),
name: 'EditProducts',
meta: { title: 'Edit Product', noCache: true, activeMenu: '/products/list' },
hidden: true
},
{
path: 'list',
component: () => import('@/views/products/list'),
name: 'ProductssList',
meta: { title: 'Products List', icon: 'list' }
}
]
},
{
path: '/permission',
component: Layout,