From edc12085977fd05fab1ff167f78e626e48efcf81 Mon Sep 17 00:00:00 2001 From: "daniel.xiao" Date: Wed, 11 Jul 2018 21:43:59 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=A2=9E=E5=8A=A0scope?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EXT-DOC.md | 10 +++++----- README.md | 14 +++++++------- STD-COMP.md | 2 +- packages/ncform-common/README.md | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/EXT-DOC.md b/EXT-DOC.md index 9298f52..6e54d36 100755 --- a/EXT-DOC.md +++ b/EXT-DOC.md @@ -4,14 +4,14 @@ 1.Install ncform-common ``` -npm i ncform-common --save +npm i @ncform/ncform-common --save ``` 2.Extend ValidationRule class ``` # myCustomRule.js -import ncformCommon from 'ncform-common'; +import ncformCommon from '@ncform/ncform-common'; class MyCustomRule extends ncformCommon.ValidationRule { @@ -49,7 +49,7 @@ rules: { 1.Install ncform-common ``` -npm i ncform-common --save +npm i @ncform/ncform-common --save ``` 2.Implement the control @@ -75,7 +75,7 @@ npm i ncform-common --save - - + + - +