QC2168 / vite-plugin-vitepress-auto-sidebar

The vite plugin that automatically generates sidebar data by scanning directories, based on vitepress
MIT License
85 stars 12 forks source link

fix:Fix the issue of incorrect path in update operation when path is not the default value. #2

Closed dana322 closed 1 year ago

dana322 commented 1 year ago

当我设置option.path属性后,增加.md文件时报错Error: ENOENT: no such file or directory, open '/home/danan/blog/docs/.vitepress/config.ts,所以我修改了这个错误

QC2168 commented 1 year ago

当我设置option.path属性后,增加.md文件时报错Error: ENOENT: no such file or directory, open '/home/danan/blog/docs/.vitepress/config.ts,所以我修改了这个错误

非常感谢您的提交!现已经发布了新版本V1.3.0🎉🎉,请在项目中更新一下插件版本🥰🥰