1 glob
webpack-多页配置-匹配文件
const entryHtml = glob.sync(path.resolve(__dirname, ‘../app/view’) + /**/*/(${baseConfig.STATIC_TEMPLATE_NAME}).html
)
在线短信
国内外短信接码平台合集
国内:
https://www.freereceivesms.com/
国外:
https://www.storytrain.info/
常用工具文档:
https://www.axios-http.cn/ axios
常用npm包
UUID https://www.npmjs.com/package/uuid
classNames https://www.npmjs.com/package/classnames
国内安装brew
Clash设置终端代理
https://github.com/Dreamacro/clash/issues/592
临时
export ALL_PROXY=socks5://127.0.0.1:7890
或者
function proxy_on() {
export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
export http_proxy="http://127.0.0.1:7890"
export https_proxy=$http_proxy
export all_proxy=socks5://127.0.0.1:7890
curl www.google.com
echo -e "\n"
echo -e "\033[32m已开启代理\033[0m"
}
function proxy_off(){
unset http_proxy
unset https_proxy
unset all_proxy
echo -e "已关闭代理"
}