摘要:
组件的注册 https://cn.vuejs.org/v2/guide/components-registration.html <body> <div id="box"> <navbar></navbar> </div> <script type="text/javascript"> // vue 阅读全文
摘要:
1. fetch why: XMLHttpRequest 是一个设计粗糙的 API,配置和调用方式非常混乱, 而且基于事件的异步模型写起来不友好。 兼容性不好 https://github.com/camsong/fetch-ie8 get //fetch get fetch("json/test. 阅读全文