  }
            }
        },
        methods: {
            showChildData: function(){
                for (var index = 0, len = this.$children.length; index < len; index++) {
                    alert(this.$children[index].msg);
                }
            }
        }
    });
    
    var app = new Vue({
        el: "#app"
    });
</script>
</html>