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

@vuepress/plugin-register-components

Package Overview
Dependencies
Maintainers
2
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vuepress/plugin-register-components

register-global-components plugin for vuepress

  • 1.0.0-alpha.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
21K
decreased by-49.98%
Maintainers
2
Weekly downloads
 
Created
Source

@vuepress/plugin-register-components

register-components plugin for vuepress

Plugin Options

componentsDir

  • Type: Array | String
  • Default: []

All components in this directory will be registered as global components, naming of components will follow the components found in .vuepress/components.

  • Usage:
module.exports = {
  plugins: [
    [ 
      'register-components', 
      {
        componentDir: somepath
      }
    ]
  ] 
}

components

  • Type: { name: string, path: string }
  • Default: []

Register global components by explicit name and path.

  • Usage:
module.exports = {
  plugins: [
    [ 
      'register-components', 
      {
        components: [
          {
            name: 'V-Card',
            path: 'path/to/card.vue'
          }
        ]
      }
    ]
  ]
}

Keywords

FAQs

Package last updated on 28 Sep 2018

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