Registry / web-framework / typedoc-plugin-vue

typedoc-plugin-vue

JSON →
library1.5.1jsnpmunverified

typedoc-plugin-vue is a TypeDoc plugin designed to enhance the generated documentation for projects utilizing Vue 3's `defineComponent` and Pinia's `defineStore` constructs. It specifically improves how these framework-specific patterns are parsed and displayed, making the documentation more accurate and readable. Additionally, it attempts to recognize `FunctionalComponent` variables and convert them into a class-like representation within the documentation output. The current stable version is 1.5.1, released in October 2025. The plugin maintains an active release cadence, frequently updating to support new major versions of TypeDoc, with recent updates for TypeDoc 0.28. Its key differentiator is providing specialized parsing for Vue and Pinia, which vanilla TypeDoc does not natively optimize, ensuring that component properties, store actions, and getters are presented clearly.

npm install typedoc-plugin-vue
INSTALL
IMPORT
SIG · TYPEDOC-PLUGIN-VUE
T
typedoc-plugin-vue
web-frameworkjavascriptv1.5.1
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

plugin entry
{ "plugin": ["typedoc-plugin-vue"] }
import 'typedoc-plugin-vue';
This package is a TypeDoc plugin configured via `typedoc.json` or command-line options, not directly imported into JavaScript/TypeScript source files.
excludeVueProperties option
{ "plugin": ["typedoc-plugin-vue"], "excludeVueProperties": true }
A plugin-specific option configured within `typedoc.json` to control the exclusion of default Vue properties like `$props`.

Demonstrates installation and basic configuration in `typedoc.json` to enable the plugin and exclude common Vue properties, ready for documentation generation.

npm install --save-dev typedoc typedoc-plugin-vue // typedoc.json { "entryPoints": ["./src/index.ts"], "out": "docs", "plugin": ["typedoc-plugin-vue"], "excludeVueProperties": true, "includeEntryPoint": false, "tsconfig": "./tsconfig.json" }
Debug
Known issues
breakingOlder versions of typedoc-plugin-vue may not be compatible with newer major versions of TypeDoc. Always ensure your plugin version supports your TypeDoc version to avoid parsing errors or incomplete documentation.
fix
Upgrade typedoc-plugin-vue to the latest version. Check the plugin's changelog for explicit TypeDoc version support before upgrading TypeDoc itself. For TypeDoc 0.28.x, use typedoc-plugin-vue >=1.5.0.
affects: <1.5.0
gotchaThe `excludeVueProperties` option was introduced in v1.4.0 and defaults to `true`. If you require properties like `$props`, `$watch`, or `$emit` to be documented for some reason, you must explicitly set this option to `false`.
fix
Set `"excludeVueProperties": false` in your `typedoc.json` configuration if you need these internal Vue properties included in your documentation.
affects: >=1.4.0
gotchaThe plugin needs to be specified correctly in the `plugin` array within `typedoc.json`. Typos or incorrect configuration paths will prevent the plugin from loading.
fix
Verify that `"plugin": ["typedoc-plugin-vue"]` is correctly spelled and located in your `typedoc.json` file. Ensure `npm install` was run and the package is available in `node_modules`.
affects: >=1.0.0
Errors
Common errors & fixes
Error: The plugin 'typedoc-plugin-vue' could not be found.
The package was not installed, or TypeDoc cannot locate it (e.g., due to incorrect `plugin` path in configuration or `node_modules` resolution issues).
fix
Ensure `typedoc-plugin-vue` is installed as a `devDependency` (`npm install --save-dev typedoc-plugin-vue`) and that the `plugin` array in `typedoc.json` correctly lists its name: `"plugin": ["typedoc-plugin-vue"]`.
Plugin typedoc-plugin-vue is not compatible with TypeDoc X.Y.Z
The installed version of `typedoc-plugin-vue` has a peer dependency requirement for TypeDoc that does not match your installed TypeDoc version.
fix
Upgrade `typedoc-plugin-vue` to its latest version (`npm update typedoc-plugin-vue`) or a specific version known to support your TypeDoc version. Alternatively, adjust your TypeDoc version to match the plugin's peer dependency range (e.g., `npm install typedoc@0.28.x`).
Upgrade
Version history
1.5.1latest on npm
Audit
Dependencies
typedocrequiredRequired peer dependency for the plugin to function with TypeDoc's core documentation generation process.
Agent activity
4 hits · last 30 days
node
4
Resources
typedoc-plugin-vue — npm install typedoc-plugin-vue · libregistry