Socket
Book a DemoInstallSign in
Socket

@vonagevolta/vue

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vonagevolta/vue

Vue.js components for Vonage Volta

0.2.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

volta-vue

Coverage lines Coverage functions Coverage branches Coverage statements

Vue.js single file components for Vonage Volta authored with vue-loader

Contributing

Steps

  • Create a branch from the develop branch
  • Make your changes and commit to your branch
  • Create a pull request to merge your branch to develop

Guidelines

  • Create one branch per feature/fix
  • Branches should be deleted after being merged in to develop

Getting Started with NPM

npm install @vonagevolta/vue

Fonts

Set the font variable value before loading the volta style sheet

$Vlt-font-url: '~@vonagevolta/core/fonts/';
@import '~@vonagevolta/core/scss/volta';

Icons

Icons have a dependency on svg-sprite-loader

npm install svg-sprite-loader --save-dev

Webpack config

{
  test: /\.svg$/,
  loader: 'svg-sprite-loader',
  options: {
    symbolId: 'V'
  }
}

App.vue

import VoltaIcons from '@vonagevolta/core/dist/symbol/volta-icons.svg';
...
data () {
  return {
    VoltaIcons
  }
}

In your vue component

<template>
  <vlt-icon icon="help" />
</template>

<script>
  import { VltIcon } from '@vonagevolta/vue';

  export default {
    components: {
      VltIcon
    }
    ...
  }
</script>

Running tests

We use Vue Test Utils with Jest for unit testing. You can run all the tests:

npm test

Or a single test:

npm test test/radio/VltRadio.spec.js

Viewing the docs

Clone repo

npm run dev

FAQs

Package last updated on 16 Dec 2021

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.