全局组件 定义方式示例:
Vue.component("hello-component", { props: ["message"], template: "<div ><h1>组件定义之全局组件</h1><h4>{{message}}</h4></div>" });
全局组件 定义方式示例:
Vue.component("hello-component", { props: ["message"], template: "<div ><h1>组件定义之全局组件</h1><h4>{{message}}</h4></div>" });