node-sass 安装失败的解决方法

由于国内网路问题,node-sass 经常安装不了,可执行以下命令安装:

npm install -g mirror-config-china --registry=http://registry.npm.taobao.org
npm install node-sass

参考官方:https://github.com/sass/node-sass

上一篇 用animationend事件判断css3动画完成
下一篇 图片懒加载的两种实现方式