Node-SASS安装

鉴于国内的环境,node-sass实在是太难安装了,能够直接经过淘宝的npm镜像来安装。node

1.安装cnpm(https://npm.taobao.org/)npm

npm install -g cnpm --registry=https://registry.npm.taobao.orgjson

2.在项目文件夹下安装node-sasssass

cnpm install --save-dev node-sass.net

说明:--save-dev自动将node-sass加入到项目文件夹下的package.json中 ---------------------blog

本文来自 SeekerTime 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/seekertime/article/details/68944482?utm_source=copy博客

相关文章
相关标签/搜索