27 lines
696 B
JavaScript
27 lines
696 B
JavaScript
/**
|
|
* Tech Tools plugin routes.
|
|
*
|
|
* `default` = AppLayout child routes; `toplevel` = full-screen routes.
|
|
*
|
|
* The index sits inside the app shell. Each tool that PRINTS is toplevel, the
|
|
* way every other label page in this repo is: printing from inside AppLayout
|
|
* would put the sidebar and header on the label stock.
|
|
*/
|
|
export default [
|
|
{
|
|
path: 'tools',
|
|
name: 'tools',
|
|
component: () => import('./views/ToolsIndex.vue'),
|
|
meta: { requiresAuth: true, plugin: 'tools' }
|
|
},
|
|
]
|
|
|
|
export const toplevel = [
|
|
{
|
|
path: '/tools/codes',
|
|
name: 'tools-codes',
|
|
component: () => import('./views/CodeGenerator.vue'),
|
|
meta: { requiresAuth: true, plugin: 'tools' }
|
|
},
|
|
]
|