From efa69bbb05014fe62cd95a9520492340f4b0f55a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=BA?= Date: Tue, 9 Jan 2018 15:34:16 +0800 Subject: [PATCH] Add command that configure China mirror --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 04e2d952f..fb8ffb6f8 100644 --- a/README.md +++ b/README.md @@ -156,6 +156,12 @@ Another option is to use PATH variable `PHANTOMJS_CDNURL`. ```shell PHANTOMJS_CDNURL=https://bitbucket.org/ariya/phantomjs/downloads npm install phantomjs ``` +##### Install from mirror in China + +```shell +npx mirror-config-china --registry=http://registry.npm.taobao.org +npm install node-sass +``` ##### Using PhantomJS from disk