@vonagevolta/vue
volta-vue
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
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.2.1 | 2.6.12 | ISC | |
| 0.1.2 | 2.6.12 | ISC | |
| 0.1.1 | 2.6.12 | ISC | |
| 0.1.0 | 2.6.12 | ISC | |
| 0.0.33 | ^2.5.11 | ISC | |
| 0.0.32 | ^2.5.11 | ISC | |
| 0.0.31 | ^2.5.11 | ISC | |
| 0.0.30 | ^2.5.11 | ISC | |
| 0.0.29 | ^2.5.11 | ISC | |
| 0.0.28 | ^2.5.11 | ISC | |
| 0.0.27 | ^2.5.11 | ISC | |
| 0.0.26 | ^2.5.11 | ISC | |
| 0.0.25 | ^2.5.11 | ISC | |
| 0.0.24 | ^2.5.11 | ISC | |
| 0.0.23 | ^2.5.11 | ISC | |
| 0.0.21 | ^2.5.11 | ISC | |
| 0.0.20 | ^2.5.11 | ISC | |
| 0.0.19 | ^2.5.11 | ISC | |
| 0.0.18 | ^2.5.11 | ISC | |
| 0.0.17 | ^2.5.11 | ISC | |
| 0.0.16 | ^2.5.11 | ISC | |
| 0.0.15 | ^2.5.11 | ISC | |
| 0.0.14 | ^2.5.11 | ISC | |
| 0.0.13 | ^2.5.11 | ISC | |
| 0.0.12 | ^2.5.11 | ISC | |
| 0.0.11 | ^2.5.11 | ISC | |
| 0.0.10 | ^2.5.11 | ISC | |
| 0.0.9 | ^2.5.11 | ISC | |
| 0.0.8 | ^2.5.11 | ISC | |
| 0.0.7 | ^2.5.11 | ISC |
Showing the latest 30 of 36. See every release on npm