07 2022 档案

摘要:vue项目自动打开浏览器配置 vue-cli-service serve 用法:vue-cli-service serve [options] [entry] 选项: --open 在服务器启动时打开浏览器 --copy 在服务器启动时将 URL 复制到剪切版 --mode 指定环境模式 (默认值: 阅读全文
posted @ 2022-07-25 11:14 iooz 阅读(538) 评论(0) 推荐(0)
摘要:Nodejs历史版本下载地址 官网地址1: https://nodejs.org/zh-cn/download/releases/ 官网地址2: https://nodejs.org/dist/ 阿里镜像: https://npm.taobao.org/mirrors/node/ 阅读全文
posted @ 2022-07-25 10:46 iooz 阅读(13237) 评论(0) 推荐(1)
摘要:nvm-windows github地址 https://github.com/coreybutler/nvm-windows 常见命令 查看目前已经安装的版本 nvm ls 安装指定的版本的nodejs nvm install 16.15.1 使用指定版本的nodejs nvm use 16.15 阅读全文
posted @ 2022-07-23 09:54 iooz 阅读(109) 评论(0) 推荐(0)
摘要:节流 /** * @description: 节流 * @param {*} delay * @param {*} fn * @return {*} */ export const throttle = function (delay, fn) { let firstTime = true let 阅读全文
posted @ 2022-07-22 18:00 iooz 阅读(1535) 评论(0) 推荐(0)
摘要:git记住账号和密码的方法 在git bash 中执行命令: git config --global credential.helper store 输入一次账号密码就可以保存,下次不再提示。 git 提示fatal: Authentication failed for... 又不弹出用户名和密码的 阅读全文
posted @ 2022-07-22 17:47 iooz 阅读(738) 评论(0) 推荐(0)
摘要:原因 可能是权限不够 解决办法 以『管理员身份』打开 powershell set-executionPolicy remoteSigned 输入 a 重启 vscode 阅读全文
posted @ 2022-07-22 17:41 iooz 阅读(272) 评论(0) 推荐(0)
摘要:npm 镜像源 npm https://registry.npmjs.org/ yarn https://registry.yarnpkg.com/ cnpm http://r.cnpmjs.org/ taobao https://registry.npm.taobao.org/ nj https: 阅读全文
posted @ 2022-07-22 17:34 iooz 阅读(3386) 评论(0) 推荐(0)