-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
动态路由打包后遇到的bug,开发环境正常 #4200
Labels
Comments
以前用过dumi,以及查询看过一众的同类型的静态站点工具(主要用来写文档),目前vitepress是最好用的。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
当我在使用动态路由的功能的时候,开发状态下是正常运行的,如下方的配置
export default { paths() { return [ { params: { pkg: '../svgui/important/' }}, { params: { pkg: '../toolkit/important/' }}, ] } }
我在当前目录的上级中的两个目录中分别用当前的md文件生成了两个文件,开发环境一切正常。
但打包之后,对应目录的文件生成了,但是内容却是404。
Reproduction
无
Expected behavior
希望能改进后,开发环境和生产环境表现一致。
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: