摘要: 设置国内淘宝镜像 通过cnpm使用淘宝镜像: npm install -g cnpm --registry=https://registry.npm.taobao.org 将npm设置为淘宝镜像: npm config set registry https://registry.npm.taobao 阅读全文
posted @ 2021-12-16 18:34 遥望那月 阅读(3494) 评论(0) 推荐(1) 编辑
摘要: 1、未使用 git add 缓存代码时: 可以使用git checkout -- filepathname (比如:git checkout -- readme.md,不要忘记中间“--”,不写就是建初分支了)。 放弃所有的文件修改可以使用 git checkout . 命令。 此命令用来放弃掉所有 阅读全文
posted @ 2021-12-01 10:35 遥望那月 阅读(1257) 评论(0) 推荐(0) 编辑
摘要: 1、删除本地分支 git branch -d 分支名 如果以上提示删不了,可以采用强删: git branch -D 分支名 2、删除远程分支 git push origin --delete 分支名 3、查看本地分支 git branch 4、查看远程分支 git branch -r 5、查看本地 阅读全文
posted @ 2021-11-30 11:34 遥望那月 阅读(478) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/liuna/p/6741988.html windows下实现node 和 npm 版本切换 Windows管理node和npm版本的两种办法(nvm和gnvm) nvm 下载 nvm安装与使用 Node.js以往的版本 阅读全文
posted @ 2021-02-22 17:01 遥望那月 阅读(984) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/chechen/p/9950798.html 阅读全文
posted @ 2020-09-23 17:00 遥望那月 阅读(612) 评论(0) 推荐(0) 编辑
摘要: 如果你的字体包太大的话,会影响字体的渲染效率,可以使用字株(font-spider)进行字体压缩 字株 http://font-spider.org/; 字株网址 阅读全文
posted @ 2020-09-23 10:43 遥望那月 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 0、引入 (1)npm 方式引入 a、安装 npm install moment 或者 yarn add moment b、引入 // require 方式 var moment = require('moment'); // import 方式 import moment from 'moment 阅读全文
posted @ 2020-09-23 10:20 遥望那月 阅读(225) 评论(0) 推荐(0) 编辑
摘要: html5监听任何App自带返回键javascript事件 阅读全文
posted @ 2020-09-14 16:28 遥望那月 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 网页布局都有哪种?一般都用什么布局? 阅读全文
posted @ 2020-09-01 13:52 遥望那月 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 48张小图带你领略flex布局之美 阅读全文
posted @ 2020-09-01 11:04 遥望那月 阅读(90) 评论(0) 推荐(0) 编辑