01 2017 档案
摘要:1 gulpfile.js异常 弹出对话框,报错: please specify gulp package correctly 异常原因:移植项目gulp package路径改变,导致无法加载gulp package 解决办法:设置路径为 /usr/local/lib/node_modules/gu
阅读全文
摘要:JavaScript 中的 this ! https://qiutc.me/post/this-this-this-in-javascript.html#call,_apply,_bind 讲解了JS中this在特殊情况下的变化。以及如何保持this值。
阅读全文
摘要:环境搭配参照 http://www.cnblogs.com/guolaomao/p/6276877.html 前半部分的内容。 首先安装browserify npm install --save-dev gulp browserify vinyl-source-stream babelify 然后就
阅读全文
摘要:在安装sass的时候,发现无论如何都装不上。 于是各种搜索资料。终于在网上找到了原因。在这里附上地址,感谢作者。 https://argcv.com/articles/4429.c 为了加深理解同时防备未来地址迁移什么的找不到原文,我用自己的语言将原文中的内容重新描述一遍。 首先输入gem inst
阅读全文
摘要:1 node js 更新 1清楚npm cache npm cache clean -f 2安装n模块 npm install -g n 3升级 n stable 2 更新npm studo npm install npm -g
阅读全文
摘要:editorconfig http://editorconfig.org EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs. re
阅读全文
摘要:工欲善其事必先利其器。在开始react开始之前,我们先使用一系列的前段工具构建自己的前端集成解决方案。 环境配置: Bower,node js,npm,Grunt,Gulp,Yeoman 作者一直使用Mac Os编程,不了解其他环境的情况。 首先安装node js 访问网址:https://node
阅读全文