I modified the ruabick plugin o read the .md file and map the generated path。
@vue-hooks-plus/vite-plugin-gen-temp
dynamically generate md files.@vue-hooks-plus/vitepress-demo-block
demo block at the md files.@vue-hooks-plus/vitepress
transformation based on vitepress to support internationalization.@vue-hooks-plus/md-demo-plugins
apply demo block.
need run initial at packages/hooks
folder.
pnpm initial
Check if a .docs folder is generated in your directory。If it fails, it cannot be started and needs to be re-run initial
👆 .
next, vitepress run .docs
pnpm docs:dev
or
at root
dir run
pnpm docs:dev
will implement script to finished scripts/docs.ts
If the page startup is blank, you need to refresh the page.