摘要: git常用命令: 使用命令前提:先了解暂存区概念! 使用命令git pull 拉取当前所在分支的最新代码 使用命令git add <file>,添加到暂存区(注意:可反复多次使用,添加多个文件) 使用命令git commit -m <message>,将暂存区里的改动给提交到本地的版本库 使用命令g 阅读全文
posted @ 2019-07-03 16:40 陈小水 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 一.工具类网站: https://tool.lu/ 二.插件类网站: https://www.layui.com/ 三.字体类网站: http://www.youziku.com/ 四.素材类网站: https://unsplash.com/ 五.配色方案网站: https://color.adob 阅读全文
posted @ 2019-07-02 14:23 陈小水 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 一、Set的用法 1.去除数组重复值; const set = new Set([1, 2, 3, 4, 4]);const s = [...set];console.log(s); // [1, 2, 3, 4] 2.实例方法: -add(value):添加某个值,返回 Set 结构本身。 -de 阅读全文
posted @ 2019-03-12 13:58 陈小水 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 一、JavaScript中创建数组有两种方式: (一)使用 Array 构造函数: var arr1 = new Array(); //创建一个空数组 var arr2 = new Array(20); // 创建一个包含20项的数组 var arr3 = new Array("lily","luc 阅读全文
posted @ 2019-02-22 11:17 陈小水 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 1.打开https://github.com/vuejs/vue-devtools直接下载该项目,或者cmd方式直接输入:git Clone https://github.com/vuejs/vue-devtools.git 下载该项目 2.进入该项目安装依赖:npm install3.npm ru 阅读全文
posted @ 2018-04-13 09:16 陈小水 阅读(1979) 评论(0) 推荐(0) 编辑
摘要: 1.安装nodejs,无需配置,安装成功自动配置 https://nodejs.org/en/download/ 2.安装vue-cli脚手架 2.1 npm install -g cnpm --registry=https://registry.npm.taobao.org(安装cnpm淘宝镜像, 阅读全文
posted @ 2017-12-11 17:56 陈小水 阅读(258) 评论(0) 推荐(0) 编辑