Skip to content

Latest commit

 

History

History
48 lines (26 loc) · 959 Bytes

DEV_DOCUMENT.md

File metadata and controls

48 lines (26 loc) · 959 Bytes

Dev the Document

Working principle

I modified the ruabick plugin o read the .md file and map the generated path。

plugins:

  • @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.

Source

Start

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.