the gods help me see what"s wrong
html Code
<body>
<div id="app">
<mycomponent v-bind:a="a" v-bind:b="b">
</mycomponent>
</div>
</body>
js Code
var Parent = Vue.extend({
prop:["a","b"],
template :`{{a}},{{b}}
`,
})
Vue.component("mycomponent", Parent)
new Vue({
el: "-sharpapp",
data:{
"a":"1",
"b":"2"
}
})