Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dabeng authored Dec 21, 2018
1 parent 7d38ced commit 8076665
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ npm install vue-organization-chart -S
```

# Usage
```
```html
<template>
<div>
<organization-chart :datasource="ds"></organization-chart>
Expand All @@ -28,12 +28,10 @@ npm install vue-organization-chart -S
import Vue from 'vue'
import OrganizationChart from 'vue-organization-chart'
import 'vue-organization-chart/dist/orgchart.css'
Vue.use(OrganizationChart)
export default {
name: 'HelloWorld',
props: {
msg: String
components: {
OrganizationChart
},
data () {
return {
Expand Down

0 comments on commit 8076665

Please sign in to comment.