feat: temp barcode templates

This commit is contained in:
2024-05-07 08:07:18 +03:00
parent e157406787
commit 90802acc56
30 changed files with 723 additions and 26 deletions

View File

@@ -22,6 +22,7 @@ const ProductsLazyImport = createFileRoute('/products')()
const LoginLazyImport = createFileRoute('/login')()
const LeadsLazyImport = createFileRoute('/leads')()
const ClientsLazyImport = createFileRoute('/clients')()
const BarcodeLazyImport = createFileRoute('/barcode')()
const IndexLazyImport = createFileRoute('/')()
// Create/Update Routes
@@ -56,6 +57,11 @@ const ClientsLazyRoute = ClientsLazyImport.update({
getParentRoute: () => rootRoute,
} as any).lazy(() => import('./routes/clients.lazy').then((d) => d.Route))
const BarcodeLazyRoute = BarcodeLazyImport.update({
path: '/barcode',
getParentRoute: () => rootRoute,
} as any).lazy(() => import('./routes/barcode.lazy').then((d) => d.Route))
const IndexLazyRoute = IndexLazyImport.update({
path: '/',
getParentRoute: () => rootRoute,
@@ -69,6 +75,10 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof IndexLazyImport
parentRoute: typeof rootRoute
}
'/barcode': {
preLoaderRoute: typeof BarcodeLazyImport
parentRoute: typeof rootRoute
}
'/clients': {
preLoaderRoute: typeof ClientsLazyImport
parentRoute: typeof rootRoute
@@ -100,6 +110,7 @@ declare module '@tanstack/react-router' {
export const routeTree = rootRoute.addChildren([
IndexLazyRoute,
BarcodeLazyRoute,
ClientsLazyRoute,
LeadsLazyRoute,
LoginLazyRoute,