会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
1
2 3 4
红鲤鱼与LV
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
15
下一页
2019年12月17日
UI组件
摘要: https://fusion.alibaba-inc.com/
阅读全文
posted @ 2019-12-17 11:28 红鲤鱼与LV
阅读(112)
评论(0)
推荐(0)
2019年12月12日
浏览器表单自动填充默认样式 - autofill问题解决
摘要: 这不知道是个什么神仙网站,解决办法写的这么清楚,页面有这么让人舒服 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
阅读(503)
评论(0)
推荐(0)
2019年12月9日
适合没有ui的项目的样式
摘要: 官网: https://www.tailwindcss.cn/
阅读全文
posted @ 2019-12-09 18:37 红鲤鱼与LV
阅读(126)
评论(0)
推荐(0)
async异步改同步后怎么监听错误
摘要: 当我们使用readFile()这种api,它第一个参数是报的错误,当使用async、await把它改写成同步,我们可以使用try { }catch{ }解决。
阅读全文
posted @ 2019-12-09 10:19 红鲤鱼与LV
阅读(411)
评论(0)
推荐(0)
2019年12月6日
在github新建一个项目里需要哪些文件及作用
摘要: 1.README.md文件 关于项目的介绍和使用方法。 2. .gitignore文件 上传项目时不需要传的文件,最常用的就是“node_modules/",如下: 详细的介绍可以去git官网上看:https://git-scm.com/docs/gitignore 规则总结如下: 匹配模式前 /
阅读全文
posted @ 2019-12-06 23:35 红鲤鱼与LV
阅读(436)
评论(0)
推荐(0)
github上创建项目
摘要: 1.github登陆之后,创建仓库 2.填写项目基本信息 3.就这么简单创建好啦 4.此时点击这里就可以克隆地址了
阅读全文
posted @ 2019-12-06 22:54 红鲤鱼与LV
阅读(193)
评论(0)
推荐(0)
node监视文件或者文件夹的变化
摘要: 1.node提供一个watch这个API,可以监视文件或文件夹的变化,当发生改变时,做出某些操作。(当做代码本地构建时,经常使用) const fs = require('fs'); fs.watch('./',{ recursive:true //是否连同其子文件一起监视 },(eventType
阅读全文
posted @ 2019-12-06 18:54 红鲤鱼与LV
阅读(611)
评论(0)
推荐(0)
node 的fs.state 获取文件信息
摘要: 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
阅读(1569)
评论(0)
推荐(0)
2019年12月4日
nodejs服务器Anywhere使用
摘要: https://www.jianshu.com/p/3f0b7ea9df53
阅读全文
posted @ 2019-12-04 23:07 红鲤鱼与LV
阅读(502)
评论(0)
推荐(0)
node 的path
摘要: 1.文档:http://nodejs.cn/api/path.html 2.path.normalize() 规范化给定的 path,解析 '..' 和 '.' 片段。 当路径不规范时,用来返回一个规范化的路径值。 此时,打印如下: 3.path.join([...paths] 进行路径拼接,不规范
阅读全文
posted @ 2019-12-04 22:31 红鲤鱼与LV
阅读(269)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
15
下一页
公告