ADR-013 Phase 4: all 13 plugin frontends relocated + staging machinery
This commit is contained in:
29
plugins/machines/frontend/routes.js
Normal file
29
plugins/machines/frontend/routes.js
Normal file
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* Machines plugin routes
|
||||
*/
|
||||
export default [
|
||||
{
|
||||
path: 'machines',
|
||||
name: 'machines',
|
||||
component: () => import('./views/MachinesList.vue'),
|
||||
meta: { plugin: 'machines' }
|
||||
},
|
||||
{
|
||||
path: 'machines/new',
|
||||
name: 'machine-new',
|
||||
component: () => import('./views/MachineForm.vue'),
|
||||
meta: { requiresAuth: true, plugin: 'machines' }
|
||||
},
|
||||
{
|
||||
path: 'machines/:id',
|
||||
name: 'machine-detail',
|
||||
component: () => import('./views/MachineDetail.vue'),
|
||||
meta: { plugin: 'machines' }
|
||||
},
|
||||
{
|
||||
path: 'machines/:id/edit',
|
||||
name: 'machine-edit',
|
||||
component: () => import('./views/MachineForm.vue'),
|
||||
meta: { requiresAuth: true, plugin: 'machines' }
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user