From 909f69465630f9961150438705d9dc34fc47b95a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=BA?= Date: Tue, 3 Apr 2018 22:05:34 +0800 Subject: [PATCH] Add command that configure China mirror (#2206) --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e0d09f59d..537c8acdc 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Follow @nodesass on twitter for release updates: ## Install -``` +```shell npm install node-sass ``` @@ -50,6 +50,13 @@ SyntaxError: Use of const in strict mode. **Having installation troubles? Check out our [Troubleshooting guide](/TROUBLESHOOTING.md).** +### Install from mirror in China + +```shell +npm install -g mirror-config-china --registry=http://registry.npm.taobao.org +npm install node-sass +``` + ## Usage ```javascript