1. 起步
header 组件需完成: 需要通过异步请求后端数据接口, 接收并渲染相关商家数据
实现思路: 在父组件 (App.vue) 发送 Ajax 请求获得后端数据, 然后通过 header 的 Prop 属性将数据传递给 header 组件
如何实现: 使用第三方插件 vue-resource
来源: http://www.bubuko.com/infodetail-2487623.html