1 2 3 4
上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页
摘要: https://fusion.alibaba-inc.com/ 阅读全文
posted @ 2019-12-17 11:28 红鲤鱼与LV 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 这不知道是个什么神仙网站,解决办法写的这么清楚,页面有这么让人舒服 https://lhajh.github.io/css/chrome/2018/04/17/The-chrome-browser-form-automatically-fills-in-the-default-style-autof 阅读全文
posted @ 2019-12-12 17:06 红鲤鱼与LV 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 官网: https://www.tailwindcss.cn/ 阅读全文
posted @ 2019-12-09 18:37 红鲤鱼与LV 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 当我们使用readFile()这种api,它第一个参数是报的错误,当使用async、await把它改写成同步,我们可以使用try { }catch{ }解决。 阅读全文
posted @ 2019-12-09 10:19 红鲤鱼与LV 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 1.README.md文件 关于项目的介绍和使用方法。 2. .gitignore文件 上传项目时不需要传的文件,最常用的就是“node_modules/",如下: 详细的介绍可以去git官网上看:https://git-scm.com/docs/gitignore 规则总结如下: 匹配模式前 / 阅读全文
posted @ 2019-12-06 23:35 红鲤鱼与LV 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 1.github登陆之后,创建仓库 2.填写项目基本信息 3.就这么简单创建好啦 4.此时点击这里就可以克隆地址了 阅读全文
posted @ 2019-12-06 22:54 红鲤鱼与LV 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 1.node提供一个watch这个API,可以监视文件或文件夹的变化,当发生改变时,做出某些操作。(当做代码本地构建时,经常使用) const fs = require('fs'); fs.watch('./',{ recursive:true //是否连同其子文件一起监视 },(eventType 阅读全文
posted @ 2019-12-06 18:54 红鲤鱼与LV 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 1. fs.stat()可以获取文件的信息,用法如下: const fs = require('fs'); fs.stat('./book.js',(err,stats)=>{ if(err) throw err; // 可以利用此处判断文件是否存在,不存在会报err。 console.log(st 阅读全文
posted @ 2019-12-06 18:14 红鲤鱼与LV 阅读(1503) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/3f0b7ea9df53 阅读全文
posted @ 2019-12-04 23:07 红鲤鱼与LV 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 1.文档:http://nodejs.cn/api/path.html 2.path.normalize() 规范化给定的 path,解析 '..' 和 '.' 片段。 当路径不规范时,用来返回一个规范化的路径值。 此时,打印如下: 3.path.join([...paths] 进行路径拼接,不规范 阅读全文
posted @ 2019-12-04 22:31 红鲤鱼与LV 阅读(255) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页