摘要:
1.引包 2.定义组件 3.定义路由 4.添加路由的出口 5.完整代码 阅读全文
posted @ 2019-10-19 21:28
宅到深夜
阅读(1098)
评论(0)
推荐(0)
摘要:
1.引入插件axios <script src="./node_modules/axios/dist/axios.js"></script> 2.axios方法写在created函数体中 created() { axios.get('http://127.0.0.1:5500/db.json') . 阅读全文
posted @ 2019-10-19 18:28
宅到深夜
阅读(263)
评论(0)
推荐(0)
摘要:
1.下载插件pubsub.js 2.在接收数据的组件中 3.在发送数据的组件中 阅读全文
posted @ 2019-10-19 15:16
宅到深夜
阅读(117)
评论(0)
推荐(0)
浙公网安备 33010602011771号