@litt1e-p/percentage-stack-bar
v0.0.9
Published
a stack bar with percentage view for vue
Downloads
4
Maintainers
Readme
PercentageStackBar
stack bar with percentage view for vue
Installation
npm i @litt1e-p/percentage-stack-bar
Usage
- global registration
// in main.js
import PercentageStackBar from '@litt1e-p/percentage-stack-bar'
import '@litt1e-p/percentage-stack-bar/dist/percentageStackBar.css'
Vue.use(PercentageStackBar)
- use as vue component
// in your vue file
import PercentageStackBar from '@litt1e-p/percentage-stack-bar'
import '@litt1e-p/percentage-stack-bar/dist/percentageStackBar.css'
export default {
components: {
PercentageStackBar
}
...
}