08 2019 档案
摘要:```
"number-leading-zero": "never", // 去掉小数点前面的0
``` ``` "prettier.stylelintIntegration": true, // vscode settings.json 文件中配置, prettier 会按照.stylelintrc 格式化
```
阅读全文
摘要:+ 可以通过postcss loader 添加
阅读全文
摘要:+ devServer + host: '0.0.0.0' 或者是ip 形式的 ,proxy 中 的 target,host 需要为ip形式的地址, + host: 'aa.a.com' 为字符形式的 ,proxy 中 的 target,host 需要为域名形式的地址, 这种形式本地要配置host
阅读全文
摘要:+ 退出vim的快捷键,不需要进入命令编辑模式 按住shift zz 保存退出 zq 不保存退出,q表示放弃
阅读全文
摘要:1. a = () = {}, // Support for the experimental syntax 'classProperties' isn't currently enabled 2. @babel/plugin transform runtime 有async await 时候, 要
阅读全文
摘要:+ 取消点击时候的透明区域 + iphonex 适配 + 文字不能选择 + 图片不能操作 + 去掉input foucs态 input 框样式 + input placeholder 样式修改 + 移动端 ios input placeholder 展示不全 line height: normal;
阅读全文
摘要:"no-multi-spaces": "error" // 表达式不能有多余的空格 var a = [1, 2] // error "no-trailing-spaces": "error" // 禁止行尾空格 "quotes": [1, "single"] // 单引号 "object-curly
阅读全文
摘要:create a new webpack.config.js configuration file `npx webpack cli init`
阅读全文
摘要:自动生成eslint 配置文件:`npx eslint init`
阅读全文