【文件属性】:
文件名称:vue-object-inspector:Vue组件用作jsjson对象检查器查看器,受react-inspector启发
文件大小:240KB
文件格式:ZIP
更新时间:2021-05-24 07:49:04
chrome tree ui vue view
Vue对象检查器
受启发,用作js / json对象检查器/查看器的Vue组件。
如果父级折叠,则不会渲染节点。
网上游乐场
在线游乐场:
例子
用法
npm install vue-object-inspector
在Vue组件中:
< template>
< div>
< object -inspector : data = " data " />
div>
template>
< script >
import ObjectInspector from ' vue-object-inspector '
export default {
name : ' your-component ' ,
components : {
ObjectInspector,
},
data () {
return {
【文件预览】:
vue-object-inspector-main
----.gitignore(223B)
----package.json(1KB)
----jsconfig.json(97B)
----package-lock.json(962KB)
----src()
--------components()
--------index.js(81B)
--------libs()
--------styles()
--------object-inspector.vue(2KB)
----jest.config.js(60B)
----LICENSE(1KB)
----.browserslistrc(30B)
----.prettierrc.js(201B)
----README.md(5KB)
----vue.config.js(231B)
----example()
--------main.js(138B)
--------public()
--------App.vue(2KB)
----.storybook()
--------main.js(322B)
--------webpack.config.js(725B)
----.vscode()
--------settings.json(139B)
----babel.config.js(66B)
----stories()
--------stories-basic-type.js(2KB)
--------stories-array.js(2KB)
--------stories-object.js(6KB)
--------stories-themes.js(603B)
--------stories-maps-sets-functions.js(3KB)