Ship the Tech Tools plugin that the previous export silently dropped

This commit is contained in:
2026-08-12 12:13:30 -04:00
parent 4319f6bc8e
commit 5859070405
7 changed files with 936 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
/**
* 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' }
},
]