Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matart15 opened this issue Feb 12, 2025 · 0 comments

Comments

@matart15
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant