search

Home  >  Q&A  >  body text

How to generate documentation for a Vue 3 project (Vite). (Components, pages, props, methods, etc.)

<p>Facing the problem of generating simple documentation for vue projects. Any ideas? </p> <p>Tried Vue Styleguidist but it doesn't work with Vue 3 and Vite. </p>
P粉330232096P粉330232096480 days ago686

reply all(1)I'll reply

  • P粉566048790

    P粉5660487902023-08-28 22:41:25

    I used vue-docgen-cli with a heavy docgen.config.js so that it accepts descriptions containing @component< 的 SFC 文件中的初始注释/代码>. Then you have to annotate the property on the JSDoc and emit it.

    reply
    0
  • Cancelreply