{"library":"vue-docgen-loader","type":"library","category":null,"description":"vue-docgen-loader is a Webpack loader designed to parse Vue component files, including single-file components (.vue) and standard JavaScript/TypeScript files exporting Vue components. It leverages vue-docgen-api to extract detailed documentation metadata (props, events, methods, slots, etc.) and injects this information directly into the compiled component's module export. This enables various development tools, such as automatically generated style guides (e.g., Vue Styleguidist), component explorers, or dynamic property editors, to access component specifications at runtime. The current stable version is 2.0.1. While there isn't a strict release cadence, updates appear to be made as needed, often for dependency bumps or feature enhancements. Its primary differentiation lies in seamlessly integrating documentation generation into the Webpack build pipeline, making component documentation an intrinsic part of the application bundle.","language":"javascript","status":"active","version":"2.0.1","tags":["javascript","vue","docgen","webpack","loader"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-docgen-loader","imports":["loader: 'vue-docgen-loader'","import MyComponent from './MyComponent.vue'; console.log(MyComponent.__docgenInfo);","const { VueLoaderPlugin } = require('vue-loader');"]},{"cmd":"yarn add vue-docgen-loader","imports":[]},{"cmd":"pnpm add vue-docgen-loader","imports":[]}],"homepage":null,"github":"https://github.com/pocka/vue-docgen-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-docgen-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-docgen-loader/compatibility"}}