TypeDoc Plugin for Vue and Pinia

1.5.1 · active · verified Sun Apr 19

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.

Common errors

Warnings

Install

Imports

Quickstart

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"
}

view raw JSON →