feat: temp barcode templates
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user