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-vueVerified import paths — ran on the pinned version, not inferred.
Demonstrates installation and basic configuration in `typedoc.json` to enable the plugin and exclude common Vue properties, ready for documentation generation.
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.
Set `"excludeVueProperties": false` in your `typedoc.json` configuration if you need these internal Vue properties included in your documentation.
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`.
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"]`.
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`).