- 博客(11)
- 收藏
- 关注
原创 今天来聊聊emoji 绘文字
大家上网对emoji一定不陌生吧,和女神聊天的时候,你发一个微笑,和😊效果可是大大滴不同。那么大家有没有好奇😊这是个什么玩意儿。图片,文字,符号?哥不知道,哥只知道这玩意叫emoji。
2023-07-05 03:32:22
128
1
转载 git约定式提交
<type>(<scope>): <subject><body><footer>大致分为三个部分(使用空行分割):标题行: 必填, 描述主要修改类型和内容主题内容: 描述为什么修改, 做了什么样的修改, 以及开发的思路等等页脚注释: 放 Breaking Changes 或 Closed Issuestypecommit 的类型:feat: 新功能、新特性fix: 修改 bugperf: 更改代码,以提高性能(在不影
2022-04-28 21:06:59
431
1
转载 在jest中使用ESmodule模块化导入导出
Jest 默认安装之后是遵循 nodejs 的 commonjs 模块调用的,如果要使用 import 导入的话需要配置 babel ,配置方法:安装 bebalyarn add --dev babel-jest @babel/core @babel/preset-env配置 babel// babel.config.jsmodule.exports = {presets: [[‘@babel/preset-env’,{targets: {node: ‘current’,},
2022-04-16 21:51:33
570
原创 particlejs配置
{“particles”: {“number”: {“value”: 60,“density”: {“enable”: true,“value_area”: 800}},“color”: {“value”: “#ffffff”},“shape”: {“type”: “circle”,“stroke”: {“width”: 0,“color”: “#000000”},“polygon”: {“nb_sides”: 5},“image”: {“src”: “img/g
2022-04-03 18:16:27
227
转载 修改json-server数据显示404
修改json-server数据显示404router.json "/api/v1/:resource": "/:resource", "/api/v1/orders?id=:id": "/orders",db.json{ "orders": [ { "id": 10001, "orderId": 10001 }, { "id": 10002 } ]}
2022-03-28 11:45:09
609
原创 npm 报错:`[HPM] Error occurred while trying to proxy request (ECONNREFUSED)`
npm 报错:[HPM] Error occurred while trying to proxy request /users from localhost:8000 to https://localhost:5000 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)下面是一些国内网上的答案,基本上可以说是千篇一律了1、配置文件proxy.conf.json没有指定http或者https我的
2022-03-27 17:03:21
12774
9
原创 npm启动项目出错 报错:‘Error: error:0308010C:digital envelope routines::unsupported’
原因:node版本高于16,项目的版本不高于16,node17之后更新了OpenSSL。解决方法:1、方法一:在命令行修改环境变量:$env:NODE_OPTIONS="--openssl-legacy-provider"在启动项目:yarn start2、方法二:使用nvm将node修改为不高于16的版本...
2022-03-15 14:02:57
14718
19
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人