-
Notifications
You must be signed in to change notification settings - Fork 0
Home
dudulaopo833 edited this page Jul 5, 2017
·
15 revisions
npm ls -g --depth=1 2>/dev/null | grep generator- //查看安装的树状历史纪录,npm ls -g --depth=1 访问能一层的安装, 2>/dev/null 过滤错误消息, grep generator- 查找generator 开头的包
在webpack配置文件中cfg/default.js 引用json-loader.
REACT_DEVTOOLS_GLOBAL_HOOK = parent.REACT_DEVTOOLS_GLOBAL_HOOK 是因为引用了React Developer Tool(chrome 应用商店), 并且因为Yeoman把真实的代码用iframe嵌入进去, 所以需要parent!
.eslintrc文件里面的修改如下 "no-unused-vars": 0,