You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
这个是正常行为,你不去主动访问这个node_modules地址,vitepress就不会就打包他的服务。目的是为了保留开发环境下多目录的服务启动。对于这种静态生成器,在生产环境都是构建产物,所以也不会有node_modules目录的情况。
如果你想要开发环境只起指定目录的服务,可以在package.json里scripts字段 dev的command里加上指定目录即可,例如我这里的是posts目录,命令就改为vitepress dev posts
如题,我自己测试时候会展示node_modules中的md文件
demo里面会显示readme文件:https://visionary-sunflower-dc7ae3.netlify.app/readme.html
The text was updated successfully, but these errors were encountered: