1.0.4 • Published 6 years ago
vuui-json-view v1.0.4
vuui-json-view
Installation
npm i --save-dev vuui-json-view
Usage
import JsonView from "vuui-json-view"
export default {
data () {
return {
jsonSource: [
{
a: 111,
b: 'bbb',
c: {
c1: 'c1',
c2: [1, 2, 3]
}
},
2,
3
]
}
},
components: {
JsonView
}
}
<div>
<json-view :json="jsonSource"></json-view>
</div>
result:
github
Changelog
- 1.0.0: Initial Release