content icon indicating copy to clipboard operation
content copied to clipboard

Cannot navigate to relative path from `subfolder/index.md`

Open serkodev opened this issue 2 years ago • 1 comments

Environment

  • Operating System: Linux
  • Node Version: v18.18.0
  • Nuxt Version: 3.8.2
  • CLI Version: 3.10.0
  • Nitro Version: 2.8.0
  • Package Manager: [email protected]
  • Builder: -
  • User Config: devtools, modules
  • Runtime Modules: @nuxt/[email protected]
  • Build Modules: -

Reproduction

  1. Go https://stackblitz.com/edit/nuxt-starter-v8ecyl?file=content/about/index.md
  2. Click "/about" navigate to /about path (/about/index.md)
  3. Fail to "Go Foo" from /about path

Describe the bug

What I expected:

  • Go /about/foo from /about by using ./foo or foo relative link
  • Go /about from /about/foo by using ../ relative link

Additional context

Adding a trailing slash maybe solve the problem but I do not want that.

Logs

No response

serkodev avatar Nov 26 '23 23:11 serkodev

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Aug 20 '24 01:08 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Sep 19 '24 02:09 github-actions[bot]