目录中有index.md的时候,链接出错
Environment
- Operating System: Windows_NT
- Node Version: v20.6.1
- Nuxt Version: 3.11.2
- CLI Version: 3.11.1
- Nitro Version: 2.9.6
- Package Manager: [email protected]
- Builder: -
- User Config: devtools, typescript, srcDir, imports, components, app, css, postcss, experimental, hooks, plugins, vite, modules, content, antd, icon, tailwindcss, colorMode, nitro
- Runtime Modules: @nuxt/[email protected], @nuxtjs/[email protected], @vueuse/[email protected], @pinia/[email protected], @ant-design-vue/[email protected], [email protected], @nuxt/[email protected], @nuxtjs/[email protected], @nuxtjs/[email protected]
- Build Modules: -
Reproduction
目录结构 content/css |--index.md |--link.md
index.md: LinkTo
访问 http://localhost:3000/css 生成的链接为: LinkTo 实际会到 http://localhost:3000/link 是错的 理想的结果:http://localhost:3000/css/link
Describe the bug
目录结构 content/css |--index.md |--link.md
index.md: LinkTo
访问 http://localhost:3000/css 生成的链接为: LinkTo 实际会到 http://localhost:3000/link 是错的 理想的结果:http://localhost:3000/css/link
Additional context
No response
Logs
No response
Can you please make a minimal reproduction on StackBlitz so that we can better help you locate the problem?
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.
This issue was closed because it has been stalled for 30 days with no activity.