Open
Description
Describe the bug
当我在使用动态路由的功能的时候,开发状态下是正常运行的,如下方的配置
export default { paths() { return [ { params: { pkg: '../svgui/important/' }}, { params: { pkg: '../toolkit/important/' }}, ] } }
我在当前目录的上级中的两个目录中分别用当前的md文件生成了两个文件,开发环境一切正常。
但打包之后,对应目录的文件生成了,但是内容却是404。
Reproduction
无
Expected behavior
希望能改进后,开发环境和生产环境表现一致。
System Info
node 18.19
windows
Additional context
No response
Validations
- Check if you're on the latest VitePress version.
- Follow our Code of Conduct
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.