上一页 1 2 3 4 5 6 7 ··· 16 下一页
摘要: 为了解决跨域问题 目前在项目,目录下创建了vue.config.js文件,目前是指向别外的一个端口,之前是记得在express后端进行端口指定的,先备注一下,后期跟进 npm ls | grep axios 查看是否存在依赖 axios 阅读全文
posted @ 2019-05-14 23:08 Jamy 阅读(173) 评论(0) 推荐(0) 编辑
摘要: git init git init --bare ''会将文档直接加上.git后缀 具体内容请渡 git add --all git commit -m 'label' git push --all ''推上去 git pull --all ''拉下来 阅读全文
posted @ 2019-05-13 16:18 Jamy 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 前言:position:sticky是css定位新增属性;可以说是相对定位relative和固定定位fixed的结合;它主要用在对scroll事件的监听上;简单来说,在滑动过程中,某个元素距离其父元素的距离达到sticky粘性定位的要求时(比如top:100px);position:sticky这时 阅读全文
posted @ 2019-05-10 22:28 Jamy 阅读(474) 评论(0) 推荐(0) 编辑
摘要: YaHei Consolas Hybrid 阅读全文
posted @ 2019-05-01 00:06 Jamy 阅读(551) 评论(0) 推荐(0) 编辑
摘要: 网上写的很多东西不是旧的,就是扯,完全看不懂。 什么打开data,什么修改,根本就没那么复杂, 首先,在终端 terminal 安装好 鼠须管 https://rime.im/download/ 直接下载安装肯定是最好的,最方便的,我是用终端命名行来安装的,这个前提需要安装 brew 怎么安装br 阅读全文
posted @ 2019-04-27 10:23 Jamy 阅读(1126) 评论(0) 推荐(0) 编辑
摘要: Now that you know how to manage the service itself, you should take a few minutes to familiarize yourself with a few important directories and files. 阅读全文
posted @ 2019-03-18 21:48 Jamy 阅读(529) 评论(0) 推荐(0) 编辑
摘要: //声明 t = 1 var t = 10; function openwin() { t -= 1; if(t==0){ location.href='index2.html'; } setTimeout("openwin()", 300); } openwin(); 阅读全文
posted @ 2019-03-13 14:04 Jamy 阅读(2893) 评论(0) 推荐(0) 编辑
摘要: 没有经常用,所以经常搞错, 创建express项目,需要新建一个文件夹名,这个文件名就是用来承载express的内容的, 好了。打开终端,cd至创建的文件夹之下。 也可以直接这样,如以下,admin为文件夹名 然后在终端执行: express -e admin express -e admin wa 阅读全文
posted @ 2019-03-07 23:35 Jamy 阅读(3931) 评论(1) 推荐(0) 编辑
摘要: 需要依赖插件 vue-resource npm install vue-resource --save https://cn.vuejs.org/v2/cookbook/using-axios-to-consume-apis.html 采用axios一样可以取数值 new Vue({ el: '#a 阅读全文
posted @ 2019-02-18 16:58 Jamy 阅读(176) 评论(0) 推荐(0) 编辑
摘要: // components helloworld.vue <script> export default { name: 'Hellowworld', props: { //接收标签为msg的内容,文件格式为:string. msg: String } } </script> // Views Ho 阅读全文
posted @ 2019-02-18 09:27 Jamy 阅读(344) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 16 下一页