Socket
Socket
Sign inDemoInstall

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


Version published
Weekly downloads
1
decreased by-85.71%
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(tree, options={})

ParameterTypeUsage
namesarraydependency tree of your components
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
debugbooleansets Vue.options.debug

Example

loader = require "atom-vue-component-loader"

tree =
  "main-app":
    "nested-comp": null
  "app2":
    "another-comp": null

vueApps = loader tree, reload: true
vueApps["main-app"] # reference to vue apps
vueApps["app2"]
vueApps["nested-comp"] # will not work!

Release History

  • v0.0.5: added debug option
  • v0.0.4: introduced the dependency tree
  • 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 19 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