New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nodecg-vue

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodecg-vue

[![https://www.npmjs.com/package/nodecg-vue](https://img.shields.io/npm/v/nodecg-vue.svg?style=flat)](https://www.npmjs.com/package/nodecg-vue) [![https://github.com/Dan-Shields/nodecg-vue/blob/master/LICENSE](https://img.shields.io/npm/l/nodecg-vue.svg?s

  • 0.5.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

NodeCG Vue

https://www.npmjs.com/package/nodecg-vue https://github.com/Dan-Shields/nodecg-vue/blob/master/LICENSE

Drop-in Vue UI components for use in a NodeCG dashboard panel

Using Vuetify components as a base, this project is designed to make dashboard development quicker and less cluttered when using Vue, by abstracting away repeated boilerplate code. The idea (and some replicant targeting code) was taken from the Polymer component library, NodeCGElements. Thanks Lange.

ComponentBase ComponentStatus
nodecg-textv-text-fieldNeeds Testing
nodecg-togglev-buttonNeeds Testing
nodecg-selectv-selectPlanned
nodecg-comboboxv-comboboxPlanned
nodecg-listv-listPlanned
nodecg-menuv-menuPlanned
nodecg-time-pickerv-time-pickerPlanned

Install

  1. npm install nodecg-vue
  2. Setup your base component:
import Vue from 'vue';
import Vuetify from 'vuetify';
import NodeCGVue from 'nodecg-vue';

import 'vuetify/dist/vuetify.min.css';

Vue.use(Vuetify);
Vue.use(NodeCGVue);

import MyComponent from './MyComponent.vue';

new Vue({
	render: h => h(MyComponent)
}).$mount('#app');

Usage

Examples and description for the components can be found in each component's README. Click the name of an element above to go there.

As each component is just an extended Vuetify component, all the props, slots and events that you would expect are available.

Every component has at least the following props added to interface with the replicant:

  • String: replicantName - The name of the target replicant. Required
  • String: replicantBundle - The bundle namespace of the target replicant. If a NodeCG API context is available (window.nodecg), this defaults to the current bundle (window.nodecg.bundleName).
  • Object: replicantOpts - The desired options to be passed to the Replicant upon declaration. See the NodeCG docs for more info on this. Defaults to an empty object. Cannot changed after component is mounted.

Contributing

The most needed thing at this stage is testing and feedback. If you encounter any bugs or have a feature request, an issue or PR would be much appreciated.

FAQs

Package last updated on 18 Feb 2019

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