上一页 1 ··· 10 11 12 13 14
  2021年4月20日
摘要: TypeScript 由微软公司开发 支持JS的平台都可以使用TS 但是TS不能被直接解析 相较于JS TS是强类型语言 TypeScript 增加了什么 1/. 类型 2/.支持ES的新特性 3/.ES不具备的新特性 4/.丰富的配置选项 5/.强大的开发工具 TypeScript开发环境搭建 1 阅读全文
posted @ 2021-04-20 20:56 贲风 阅读(92) 评论(0) 推荐(0)
  2021年4月19日
摘要: Vue 2.x 1. 创建一个VUE项目 2. 安装Tailwind CSS npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat @tailwindcss/postcss7-compat postcss@^7 autoprefixe 阅读全文
posted @ 2021-04-19 16:51 贲风 阅读(1015) 评论(0) 推荐(0)
  2021年4月16日
摘要: 总是忘 备份一下 > 单行隐藏 { overflow: hidden; // 超出隐藏 text-overflow: ellipsis; // 以用来多行文本的情况下,用省略号“…”隐藏超出范围的文本。 white-space: nowrap; // 如何处理元素内的空白 } > 多行隐藏 (当元素 阅读全文
posted @ 2021-04-16 23:15 贲风 阅读(155) 评论(0) 推荐(0)
摘要: 在模糊的区域添加 transform:translate3d(0,0,0) 或者 transform: translateZ(0) scale(1, 1); 均可 阅读全文
posted @ 2021-04-16 22:58 贲风 阅读(579) 评论(0) 推荐(0)
摘要: 1.首先本地 git bash here 2.git init 初始化 本地添加 .git文件夹 3.git remote add origin + '项目地址' 远程添加项目 4.git pull origin master 拉下远程仓库文件 5.git add . 将新文件推送 5.5 git 阅读全文
posted @ 2021-04-16 22:18 贲风 阅读(278) 评论(0) 推荐(0)
摘要: 1. cnpm或者npm安装 cnpm i vue-lazyload -S #安装至develop中 或 npm install vue-lazyload --save-dev 2. main.js中引入并配置参数 比较常用的参数是图片加载错误(error)和预加载时显示的图片(loading) i 阅读全文
posted @ 2021-04-16 22:12 贲风 阅读(303) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14