Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

318
Views
Error de tipo: WEBPACK_IMPORTED_MODULE

Aquí hay una pequeña parte de la estructura de mi proyecto.

 src features settings routes settings.routes.tsx settings.ts routes routes.config.ts

configuración.rutas.tsx

 const SETTINGS_SCREEN: RouteItemDef = { id: "settings", path: SettingsPathsEnum.SETTINGS, navigationTitle: "settings.navigationTitle", component: SettingsRoutes, nestedRoutes: [ { id: "projects", path: SettingsPathsEnum.PROJECTS, navigationTitle: "settingsProjects.navigationTitle", component: ProjectsScreen, layout: SidebarLayout, // using this line i'm getting error that I mentioned } ] } export const SETTINGS_ROUTES = [SETTINGS_SCREEN];

configuración.ts

 // ROUTES export * from "./routes/settings.routes";

rutas.config.ts

 import { AUTH_ROUTES } from "@app/features/auth/auth"; import { HOME_ROUTES } from "@app/features/home/home"; import { SETTINGS_ROUTES } from "@app/features/settings/settings"; export const ROOT_ROUTE = "/"; export const PUBLIC_LIST = [...AUTH_ROUTES]; export const PRIVATE_LIST = [...HOME_ROUTES, ...SETTINGS_ROUTES];

En el archivo settings.routes.tsx cuando uso el layout dentro de la matriz de objetos nestedRoutes , aparece el error adjunto a continuación

imagen de error que estoy recibiendo

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!