yarn配置
参考连接:https://blog.csdn.net/yw00yw/article/details/81354533
1、先下载好NodeJS,然后输入如下命令安装yarn
npm install -g yarn
2、查看版本:
yarn --version
3、查看 yarn 默认配置
yarn config list
4、修改默认镜像和node-sass
yarn config set registry https://registry.npm.taobao.org -g
yarn config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g
5、yarn 常用命令
https://yarn.bootcss.com/docs/usage/