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

atom-vue-component-loader

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atom-vue-component-loader

loads a pack of vue components

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

atom-vue-component-loader

loads a pack of vue components.

Install

npm install atom-vue-component-loader

Usage

requiring atom-vue-component-loader

returns a Function(names, options={})

ParameterTypeUsage
namesarrayname of the package you want to reload (will be converted to kebab case)
optionsobjectobject containing all options
optionsTypeUsage
cwdstringcurrent working directory - where packages will be searched
reloadbooleanif set, deletes cache before loading
deepbooleanonly if reload is true, deletes nested dependencies from cache

Example

loader = require "atom-vue-component-loader"
components = loader ["nested-comp","main-app"], reload: true
components["main-app"] # reference to vue component

Release History

  • v0.0.3: Switched to kebab case
  • v0.0.2: First bugfix
  • v0.0.1: First release

License

Copyright (c) 2015 Paul Pflugradt Licensed under the MIT license.

Keywords

FAQs

Package last updated on 08 Jun 2015

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