错误1
vue.js:634 [Vue warn]: Property or method "content" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
found in
---> <List>
<Root>
<div id="app">
<list content="Today is a good day"></list>
</div>
<script>
Vue.component('list',{
template:"<div>{{content}}</div>"
});
var vm = new Vue({
el:'#app'
})
答:1.可能是非props特性引起来的, 因为不能这么引用插值