Vue extend 学习
<div id="box"><aa></aaa>
</div>
<script>
var Aaa = Vue.extend({
data () {
return {
msg: '我是数据信息'
};
},
template: '<h1>{{msg}}</h1>'
});
Vue.component("aa", Aaa);
var vm = new Vue({
el: "#box"
});
</script>
https://github.com/eteplus/vue-sui-demo
以上是 Vue extend 学习 的全部内容, 来源链接: utcz.com/z/375343.html