/** * Tech Tools plugin routes. * * `default` = AppLayout child routes; `toplevel` = full-screen routes. * * The generator sits INSIDE the app shell, unlike the label pages in core. * Those are toplevel because a print from inside AppLayout would put the * sidebar on the label stock - which is true unless the print stylesheet says * otherwise, and style.css now does: the shell is hidden at print time so only * the labels reach the page. A tool someone spends ten minutes in wants the * navigation; a one-shot print page does not. */ export default [ { path: 'tools', name: 'tools', component: () => import('./views/ToolsIndex.vue'), meta: { requiresAuth: true, plugin: 'tools' } }, { path: 'tools/codes', name: 'tools-codes', component: () => import('./views/CodeGenerator.vue'), meta: { requiresAuth: true, plugin: 'tools' } }, ]