29 lines
827 B
JavaScript
29 lines
827 B
JavaScript
/**
|
|
* Warranty plugin routes
|
|
*/
|
|
export default [
|
|
{
|
|
path: 'settings/dellwarranty',
|
|
name: 'dell-warranty-settings',
|
|
component: () => import('./views/DellWarrantySettings.vue'),
|
|
meta: { requiresAuth: true, requiresAdmin: true, plugin: 'warranty' }
|
|
},
|
|
{
|
|
path: 'warranties',
|
|
name: 'warranties',
|
|
component: () => import('./views/WarrantiesList.vue'),
|
|
meta: { plugin: 'warranty' }
|
|
},
|
|
{
|
|
path: 'reports/warranty',
|
|
name: 'warranty-report',
|
|
component: () => import('./views/WarrantyReport.vue'),
|
|
meta: { plugin: 'warranty', title: 'Warranty Report' }
|
|
}
|
|
]
|
|
|
|
// No full-screen routes: every view in this plugin renders inside
|
|
// AppLayout. Declared so routes.gen.js can read `.toplevel` off the module
|
|
// without Rollup warning about a missing export.
|
|
export const toplevel = []
|