Current collected state Current
Observed since 20 Oct, 17:15 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
<p align="center"> <a href="https://spiritree.github.io/vue-orgchart"> <img src="/assets/vue-orgchart.jpg" alt="vue-orgchart logo"> </a> </p>
A Vue wrapper for OrgChart.js.
...
npm install vue-orgchart -S
In
main.js
import 'vue-orgchart/dist/style.min.css'
In
*.vue
<template>
<div>
<vo-basic :data="chartData"></vo-basic>
</div>
</template>
<script>
import { VoBasic } from 'vue-orgchart'
export default {
components: { VoBasic }
created () {
this.chartData = {
name: 'JavaScript',
children: [
{ name: 'Angular' },
{
name: 'React',
children: [{ name: 'Preact' }]
},
{
name: 'Vue',
children: [{ name: 'Moon' }]
}
]
}
}
</script>
# install dependencies
npm install
# serve with hot reload at localhost:8999
npm run dev
# unit test
npm run test
# build by rollup
npm run rollup
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.0Registry latest | 6 Mar 2019 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 17:15 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:b15f7bb551c6072b6e4c3dbfa883b5efe17273f5df276810ba1ac054714a2725