会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Syinho
博客园
首页
新随笔
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
24
下一页
2023年9月16日
NPM_npm install 命令中-S与-D尾缀的区别
摘要: -P, --save-prod: 包将出现在你的 dependencies 中。 这是默认值,除非存在 -D 或 -O。 -D, --save-dev: 包将出现在你的 devDependencies 中。 package.json中dependencies与devDependencies区别 de
阅读全文
posted @ 2023-09-16 23:41 Syinho
阅读(108)
评论(0)
推荐(0)
2023年9月15日
测试
摘要: test test1 test2 test3 test4 test5 test6 test7 test8 test9
阅读全文
posted @ 2023-09-15 14:18 Syinho
阅读(11)
评论(7)
推荐(0)
axios_对于请求头content-type:application/json的请求, 请求体是数组的该怎么发
摘要: 在博客园的请求/ajax/GetPostStat中, 发现这个post请求发送的是一个数组 export const reqGetArticleCountData = id => instance.post('/ajax/GetPostStat', { data: JSON.stringify([i
阅读全文
posted @ 2023-09-15 04:44 Syinho
阅读(56)
评论(0)
推荐(0)
2023年9月14日
http-proxy-middleware_http-proxy-middleware的安装与使用
摘要: 安装 npm install --save-dev http-proxy-middleware 代理中间件配置 createProxyMiddleware([context,] config) const { createProxyMiddleware } = require('http-proxy
阅读全文
posted @ 2023-09-14 01:21 Syinho
阅读(1014)
评论(0)
推荐(0)
2023年9月13日
windows_打开指定目录的图形化界面
摘要: 打开 D:\test\html 目录 start D:\test\html explorer D:\test\html start命令与explorer命令的不同 explorer可以通过explorer ./ 命令打开当前路径目录的图形化界面, start ./ 则会报错
阅读全文
posted @ 2023-09-13 00:07 Syinho
阅读(75)
评论(88)
推荐(1)
2023年9月12日
morgan_morgan的基本使用
摘要: node.js的HTTP请求记录器中间件 基本使用 morgan(format,options) 使用预定义的格式字符串 morgan('tiny') 使用预定义令牌的格式字符串 morgan(':method :url :status :res[content-length] - :respons
阅读全文
posted @ 2023-09-12 00:35 Syinho
阅读(86)
评论(0)
推荐(0)
windows_如何获取局域网内的全部PC的IP地址
摘要: 首先使用ipconfig/all确定自己的ip地址 再使用for /L %i IN (1,1,254) DO ping -w 2 -n 1 192.168.0.%i命令轮询局域网内的所有可访问的ip地址, 注意根据自己的ip地址修改这条命令的轮询地址占位 轮询结束, 使用arp -a命令获取轮询结果
阅读全文
posted @ 2023-09-12 00:33 Syinho
阅读(208)
评论(1)
推荐(0)
eslitn_no-cond-assign错误
摘要: 错误原因: 禁止在条件语句中出现赋值操作符(no-cond-assign). 我在while()循环语句循环条件中写入了赋值代码 while(articleIdArrRes=reg_articleId.exec(str)){ data.articleIdArr.push(articleIdArrRe
阅读全文
posted @ 2023-09-12 00:32 Syinho
阅读(39)
评论(0)
推荐(0)
2023年9月8日
morgan_morgan的安装与使用
摘要: - node.js的HTTP请求记录器中间件 ### 基本使用 - ``` morgan(format,options) ``` - 使用预定义的格式字符串 - ```js morgan('tiny') ``` - 使用预定义令牌的格式字符串 - ```js morgan(':method :url
阅读全文
posted @ 2023-09-08 00:03 Syinho
阅读(78)
评论(0)
推荐(0)
2023年9月6日
express-generator_express-generator脚手架的安装与使用
摘要: ### 安装 ``` npm install -g express-generator ``` ### 创建一个脚手架 ``` express --no-view express_generator ``` - 如上代码, 在当前目录下的expresss_generator目录创建一个应用 ###
阅读全文
posted @ 2023-09-06 16:00 Syinho
阅读(152)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
24
下一页
公告