From cbaceffcf2b9d9e0a0f08b4657892c2b14b98d83 Mon Sep 17 00:00:00 2001 From: dabeng Date: Wed, 25 May 2016 08:35:15 -0500 Subject: [PATCH] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fa622851..f436c5bd 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,16 @@ Of course, you can directly use the standalone build by including dist/js/jquery ### Install with Bower ``` # From version 1.0.2 on, users can install orgchart and add it to bower.json dependencies -$ bower install orgchart --save +$ bower install orgchart ``` +### Install with npm +``` +# From version 1.0.4 on, users can install orgchart with npm +$ npm install orgchart +``` +require('orgchart') will load orgchart plugin onto the jQuery object. The orgchart module itself does not export anything. + ## Demo - **[using ul datasource](http://dabeng.github.io/OrgChart/ul-datasource/)**(this feature comes from [Tobyee's good idea:blush:](https://github.com/dabeng/OrgChart/issues/1)) ```html