上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: https://blog.csdn.net/c__chao/article/details/78573737 阅读全文
posted @ 2018-09-05 17:40 斯丢皮德曼 阅读(138) 评论(0) 推荐(0) 编辑
摘要: git init git add . git commit -m "first commit" git remote add origin "地址" git push -u origin master (账户名密码验证) 传输 大功告成 阅读全文
posted @ 2018-08-18 18:52 斯丢皮德曼 阅读(395) 评论(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 斯丢皮德曼 阅读(438) 评论(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 斯丢皮德曼 阅读(490) 评论(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 斯丢皮德曼 阅读(2958) 评论(0) 推荐(0) 编辑
摘要: vue本身为运行脚手架项目自家搭载了一个nodejs后台环境,本地可通过proxyTable来处理跨域问题,但是上线(或生产环境)之后改域名真是一件麻烦的事情,所以进行一些配置。 config/index.js proxyTable: { '/apis': { target: 'http://www.baidu.com', //域名,主要修改这一块 ... 阅读全文
posted @ 2018-07-02 09:39 斯丢皮德曼 阅读(7554) 评论(0) 推荐(0) 编辑
摘要: <html> <meta charset="utf-8"> <head> <script src="https://cdn.bootcss.com/vue/2.5.17-beta.0/vue.min.js"></script> </head> <body> <div id="app"> <ul v- 阅读全文
posted @ 2018-06-23 23:45 斯丢皮德曼 阅读(786) 评论(0) 推荐(0) 编辑
摘要: vue配置环境:https://blog.csdn.net/u012369271/article/details/72848102 cookie的使用https://blog.csdn.net/countofdane/article/details/78260411 vuejs提交表单数据https 阅读全文
posted @ 2018-06-21 23:28 斯丢皮德曼 阅读(109) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="hello"> <input type="text" v-model="name" @blur="checkname"> <mt-popup v-model="popupVisible" position="top" popup-transition=" 阅读全文
posted @ 2018-06-16 15:08 斯丢皮德曼 阅读(3168) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <ul> <li :class="{active:classIndex==classNum}" class="packageItem" @click="clickHandler(packItem, classIndex)" v-for="(packItem,clas 阅读全文
posted @ 2018-06-14 00:14 斯丢皮德曼 阅读(799) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页