Files
sortsys-ui/dev/routes.ts
Ludwig Lehnert 0efd3d954b
Some checks failed
CodeQL / Analyze (push) Failing after 1m32s
initial commit
2026-01-11 11:08:48 +01:00

40 lines
965 B
TypeScript

import { lazy } from 'solid-js';
import type { RouteDefinition } from '@solidjs/router';
export const routes: RouteDefinition[] = [
{
path: '/auth/login',
component: lazy(() => import('./routes/auth/login')),
},
{
path: '/',
component: lazy(() => import('./routes/(shell)/_layout')),
children: [
{
path: '/',
component: lazy(() => import('./routes/(shell)/index')),
},
{
path: '/forms',
component: lazy(() => import('./routes/(shell)/forms')),
},
{
path: '/data',
component: lazy(() => import('./routes/(shell)/data')),
},
{
path: '/modals',
component: lazy(() => import('./routes/(shell)/modals')),
},
{
path: '/layout',
component: lazy(() => import('./routes/(shell)/layout')),
},
{
path: '*',
component: lazy(() => import('./routes/(shell)/_404')),
},
],
},
];