摘要: > antd 的组件样式(主题)是支持定制的,它的样式实现是基于 less。官方的订制手册参看 https://github.com/ant-design/ant-design/blob/master/docs/react/customize-theme.zh-CN.md 具体操作时,你还会想要了解 阅读全文
posted @ 2018-04-10 22:49 死宅程序员 阅读(6339) 评论(0) 推荐(0) 编辑
摘要: http://v.youku.com/v_show/id_XNzM4NTU0MjQ4.html?f=28697585&o=1 1.1.1 Linux系统简介-UNIX发展历史和发行版本http://v.youku.com/v_show/id_XNzM4ODUyMzY0.html?f=28697585 阅读全文
posted @ 2018-03-25 23:30 死宅程序员 阅读(630) 评论(0) 推荐(0) 编辑
摘要: VS Code 中的 Smarty 扩展: https://github.com/imperez/vscode-smarty 目前(v0.2.0)不支持定制定界符。可以通过 trick 的方式篡改。 参考:https://github.com/imperez/vscode-smarty/issues 阅读全文
posted @ 2018-03-13 17:49 死宅程序员 阅读(1137) 评论(0) 推荐(0) 编辑
摘要: node 从 v8.5.0起 支持了 ES6 module。 只需保存文件名为 .mjs ,并通过一个option 可以开启执行,如 node --experimental-modules index.mjs 但是,在 npm cli 中如何开启呢? 辗转反侧,通过 shebang 能够达到目的, 阅读全文
posted @ 2018-02-28 15:24 死宅程序员 阅读(2145) 评论(0) 推荐(0) 编辑
摘要: 通过命令编辑缓存的路径配置: npm config edit 内如如: 指定到系统盘之外的路径,如 d: 盘;然后将原来目录中已缓存的内如剪切过来~ Notice(2019.3.15): 截图中路径含有空格,可能会有风险,可通过如下拼写避免: cache=d:\progra~1\npm-cache 阅读全文
posted @ 2017-06-25 13:15 死宅程序员 阅读(813) 评论(0) 推荐(0) 编辑
摘要: 1.让你的粘贴保留原有缩进 Preferences -> Key Binding 中新增: [ , { "keys": ["ctrl+v"], "command": "paste_and_indent"}] 2. fis3 周边插件,在右键菜单增加几个快捷打开 CMD 的命令,详见: http:// 阅读全文
posted @ 2017-06-07 12:01 死宅程序员 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 背景:在迁移项目从 Vue1.x 到 Vue2.x 时,改动没有过脑子,导致翻车。 阅读全文
posted @ 2017-06-01 12:13 死宅程序员 阅读(12286) 评论(3) 推荐(1) 编辑
摘要: 使用 webpack 编译 Vue 项目时出现报错: index.js:13 Uncaught TypeError: Cannot read property 'split' of undefined 定位错误到事发代码行: version = Vue.version.split('.').map( 阅读全文
posted @ 2017-05-11 14:14 死宅程序员 阅读(1364) 评论(0) 推荐(0) 编辑
摘要: 很多人不了解 Chrome Dev Tools (开发者工具)的使用方法和技巧。 其中很多技能,无论是前端开发从业者,还是普通用户,了解一些还是对日常很有帮助的。 本猿定期录制、甚至根据您的需求来订制一些小短片,帮助您掌握开发技巧。 适用人群: 计算机爱好者、web 前端开发入门者、物联网有前端技术 阅读全文
posted @ 2017-04-23 22:40 死宅程序员 阅读(2216) 评论(0) 推荐(0) 编辑
摘要: 五子棋正方反方Ps:为防止大家误解,今天(2010年12月1日 09:57:03)特意在标题上加了个“盘”字儿。 阅读全文
posted @ 2008-09-28 16:20 死宅程序员 阅读(1013) 评论(6) 推荐(0) 编辑