摘要:
一般项目的方法 <html> <head> <script> <script src="http://requirejs.org/docs/release/2.1.16/comments/require.js"></script> </script> </head> </html> <script> 阅读全文
posted @ 2018-05-24 22:40
斯丢皮德曼
阅读(686)
评论(0)
推荐(0)
摘要:
一般项目做法: <html> <head> <script src="http://requirejs.org/docs/release/2.1.16/comments/require.js"></script> </head> </html> <script> </script> vue-cli项 阅读全文
posted @ 2018-05-24 22:31
斯丢皮德曼
阅读(3320)
评论(0)
推荐(0)
摘要:
安装 cnpm install faker json-serve --save-dev 在目录下创建一个模板文件 示例 makeJson.js var faker = require('faker') function generateCustomers() { var customers = [] for (var id = 0; id < 50; id++) { v... 阅读全文
posted @ 2018-05-24 21:27
斯丢皮德曼
阅读(2400)
评论(0)
推荐(0)
摘要:
axios 配置 下载cnpm install axios vue-axios --save-dev main.js文件中配置 import axios from 'axios' import VueAxios from 'vue-axios' Vue.use(VueAxios, axios) 组件 阅读全文
posted @ 2018-05-24 17:28
斯丢皮德曼
阅读(164)
评论(1)
推荐(0)

浙公网安备 33010602011771号