Skip to content

📖 A JSDoc plugin for documenting .vue files.

License

Notifications You must be signed in to change notification settings

Kocal/jsdoc-vuejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSDoc for VueJS

A wobbly JSDoc plugin for listing props, data, computed data, hooks and methods from *.vue files.

Actually only working with default template, and if your .vue files don't require other .vue files (plz help me!)

Installation

$ yarn add jsdoc-vuejs -D
# $ npm i jsdoc-vuejs -D

Usage

Update your JSDoc plugins:

{
  "plugins": [
    "node_modules/jsdoc-vuejs"
  ]
}

Update your .vue files:

<template>
  <div>Foo</div>
</template>

<script>
  /**
   * Add the @vue tag here
   * @vue 
   */
  export default {
    data () {
      return {}
    }
  }
</script>