08 2018 档案

摘要:git init git add . git commit -m "first commit" git remote add origin "地址" git push -u origin master (账户名密码验证) 传输 大功告成 阅读全文
posted @ 2018-08-18 18:52 斯丢皮德曼 阅读(398) 评论(0) 推荐(0)
摘要:1,新建app项目,打包vue,修改config/index.js的输出路径 2,把build打包后的dist目录下的文件拷到app目录下 3、修改app下面的index文件,改变压缩格式,修改“/static”为“static” 4、如果手机上可以用基座调试出来,打包出来基本没问题 5 、发现打包 阅读全文
posted @ 2018-08-18 11:52 斯丢皮德曼 阅读(439) 评论(0) 推荐(0)
摘要:之前一直没有用成功,今天看了一些博客,学会了使用axios插件 1.首先就是下载依赖啦 2.main.js import axios from 'axios'Vue.prototype.$axios = axios axios.defaults.baseURL = 'http://xxx/';axi 阅读全文
posted @ 2018-08-17 18:08 斯丢皮德曼 阅读(501) 评论(0) 推荐(0)
摘要:import Vue from "vue" import vueResource from "vue-resource" Vue.use(vueResource) export default{ getRequest(url,cb) { return new Promise((resolve, reject) => { Vue.http.get( url... 阅读全文
posted @ 2018-08-05 21:45 斯丢皮德曼 阅读(2969) 评论(0) 推荐(0)