安装node:
npm全局包:
npm远端地址:
https://registry.npmjs.org
https://registry.npm.taobao.org
设置淘宝镜像:
npm config set registry=https://registry.npm.taobao.org
安装vscode
国内镜像地址:https://vscode.cdn.azure.cn
官网下载地址:https://az764295.vo.msecnd.net/stable/3866c3553be8b268c8a7f8c0482c0c0177aa8bfa/VSCode-darwin-arm64.zip
国内镜像地址:https://vscode.cdn.azure.cn/stable/3866c3553be8b268c8a7f8c0482c0c0177aa8bfa/VSCode-darwin-arm64.zip
只需将https://az764295.vo.msecnd.net替换成https://vscode.cdn.azure.cn即可!
安装git
git bash下
ssh-keygen -o
拉取项目:
安装依赖:
npm代理配置:
安装依赖时发现,总是连接超时,地址被墙掉了,配置代理。
npm config set proxy http://server:port
npm config set https-proxy http://server:port
server就是代理的服务器地址,如果有验证ze需要这样设置:
npm config set proxy http://username:password@server:port
npm confit set https-proxy http://username:password@server:port
git代理配置:
http(s)形式
git config --global http.proxy ‘0.0.0.0:4’
git config --global https.proxy ‘0.0.0.0:4’
此代理只能以http方式克隆
不知道为什么要全局才有效
微信小程序
所需网站一览表:
https://mp.weixin.qq.com 微信公众平台
https://developers.weixin.qq.com 微信开放社区
pc谷歌浏览器
浏览器flag设置链接
chrome://flags
可搜索 samesite 禁用
快捷方式目标: C:\Users\Administrator\AppData\Local\Google\Chrome\Application\chrome.exe --disable-web-security --user-data-dir=C:\ChromeUserData
快捷键
ctrl+shift+delete 清缓存
谷歌插件
Header Editor 管理浏览器请求,包括修改请求头和响应头、重定向请求、取消请求
下载地址 https://www.gugeapps.net/webstore/detail/header-editor/eningockdidmgiojffjmkdblpjocbhgh#download