Socket
Socket
Sign inDemoInstall

vue-docgen-loader

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-docgen-loader

Vue docgen loader for webpack


Version published
Weekly downloads
134K
decreased by-3.44%
Maintainers
1
Weekly downloads
 
Created

What is vue-docgen-loader?

The vue-docgen-loader is a webpack loader for generating documentation from Vue.js components. It integrates with vue-docgen-api to extract information from Vue components and produce documentation in various formats.

What are vue-docgen-loader's main functionalities?

Generate Documentation

This feature allows you to generate documentation for your Vue components by adding vue-docgen-loader to your webpack configuration. The loader processes .vue files and extracts documentation information.

module.exports = {
  module: {
    rules: [
      {
        test: /\.vue$/,
        loader: 'vue-docgen-loader',
        options: {
          docgenOptions: {
            alias: {
              '@': './src'
            }
          }
        }
      }
    ]
  }
};

Customizing Documentation Output

This feature allows you to customize the output of the documentation by specifying custom slots and props. This can be useful for tailoring the documentation to your specific needs.

module.exports = {
  module: {
    rules: [
      {
        test: /\.vue$/,
        loader: 'vue-docgen-loader',
        options: {
          docgenOptions: {
            alias: {
              '@': './src'
            },
            customSlots: ['slotName'],
            customProps: ['propName']
          }
        }
      }
    ]
  }
};

Other packages similar to vue-docgen-loader

Keywords

FAQs

Package last updated on 01 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc