Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-docgen-loader

Package Overview
Dependencies
Maintainers
0
Versions
13
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

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
129K
increased by6.21%
Maintainers
0
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 29 Oct 2024

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