Skip to content

Uncaught Error: Absolute route path "/" nested under path "/admin//u_pages" is not valid. An absolute child route path must start with the combined path of all its parent routes. #194

@matart15

Description

@matart15

Describe the Bug

/admin/u_pages directory does not work
Image

/admin/u_page directory works
Image

also src/pages/admin/pages/index1.tsx works ( kind of. it creates /admin/pages/1)

I assume if word pages is included code thinks it as top most root

Generouted Version

"@generouted/react-router": "1.20.0",

Your Example Website or App or Reproduction

https://stackblitz.com/edit/vitejs-vite-ues6zmuv?file=src%2Fpages%2Fadmin%2Fu_pages%2Findex.tsx

Steps to Reproduce the Bug or Issue

  1. create page at src/pages/admin/pages/index.tsx

Expected Behavior

separate src/pages/admin/pages/index.tsx from src/pages/index.tsx

Screenshots or Videos

No response

Platform

  • OS: Mac
  • Browser: Crome

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions