creator版本:1.4.2
给组件添加inspector后,一直显示:
Failed to load inspector package://hello-world/inspector.js for component “Element”
组件:
inspector.js 路径:
Vue.component(‘hello-world-inspector’, {
template: <ui-prop v-prop="target.type"></ui-prop> <ui-prop v-prop="target.level"></ui-prop>
,
props: {
target: {
twoWay: true,
type: Object,
},
},
});