From 38f2137024d795eca988c9dd74a8df450e5b3565 Mon Sep 17 00:00:00 2001 From: Mario Romano Date: Wed, 1 Jun 2016 12:26:26 +0100 Subject: [PATCH] dependencies --- .../ng2-alfresco-documentlist/README.md | 42 +++++++++++-------- ng2-components/ng2-alfresco-login/README.md | 34 +++++++-------- ng2-components/ng2-alfresco-upload/README.md | 33 +++++++-------- ng2-components/ng2-alfresco-viewer/README.md | 34 +++++++-------- 4 files changed, 75 insertions(+), 68 deletions(-) diff --git a/ng2-components/ng2-alfresco-documentlist/README.md b/ng2-components/ng2-alfresco-documentlist/README.md index 40dcf2ed0d..894f74315f 100644 --- a/ng2-components/ng2-alfresco-documentlist/README.md +++ b/ng2-components/ng2-alfresco-documentlist/README.md @@ -16,6 +16,31 @@ npm set registry http://devproducts.alfresco.me:4873 npm install --save ng2-alfresco-core ng2-alfresco-documentlist ``` +#### Dependencies + +Add the following dependency to your index.html: + +```html + +``` + +#### Style +The style of this component is based on material design, so if you want to visualize it correctly you have to add the material +design dependency to your project: + +```sh +npm install --save material-design-icons material-design-lite +``` + +Also make sure you include these dependencies in your .html page: + +```html + + + + +``` + ## Basic usage ```html @@ -468,23 +493,6 @@ export class MyView { Typically you may want populating all your custom actions at the application root level or by means of custom application service. -#### Style -The style of this component is based on material design, so if you want to visualize it correctly you have to add the material -design dependency to your project: - -```sh -npm install --save material-design-icons material-design-lite -``` - -Also make sure you include these dependencies in your .html page: - -```html - - - - -``` - ## Build from sources Alternatively you can build component from sources with the following commands: diff --git a/ng2-components/ng2-alfresco-login/README.md b/ng2-components/ng2-alfresco-login/README.md index f89aa3e35e..dda0210d34 100644 --- a/ng2-components/ng2-alfresco-login/README.md +++ b/ng2-components/ng2-alfresco-login/README.md @@ -29,6 +29,23 @@ Add the following dependency to your index.html: ``` +#### Style +The style of this component is based on material design, so if you want to visualize it correctly you have to add the material +design dependency to your project: + +```sh +npm install --save material-design-icons material-design-lite +``` + +Also make sure you include these dependencies in your .html page: + +```html + + + + +``` + Make sure your systemjs.config has the following configuration: ```javascript @@ -132,23 +149,6 @@ bootstrap(AppComponent, [ **method**: {string} optional) default POST. The method attribute specifies how to send form-data The form-data can be sent as URL variables (with method="get") or as HTTP post transaction (with method="post").
-#### Style -The style of this component is based on material design, so if you want to visualize it correctly you have to add the material -design dependency to your project: - -```sh -npm install --save material-design-icons material-design-lite -``` - -Also make sure you include these dependencies in your .html page: - -```html - - - - -``` - ## Build from sources Alternatively you can build component from sources with the following commands: diff --git a/ng2-components/ng2-alfresco-upload/README.md b/ng2-components/ng2-alfresco-upload/README.md index 86fcf29d85..0ad3ca063c 100644 --- a/ng2-components/ng2-alfresco-upload/README.md +++ b/ng2-components/ng2-alfresco-upload/README.md @@ -31,6 +31,22 @@ Add the following dependency to your index.html: ```html ``` +#### Style +The style of this component is based on material design, so if you want to visualize it correctly you have to add the material +design dependency to your project: + +```sh +npm install --save material-design-icons material-design-lite +``` + +Also make sure you include these dependencies in your .html page: + +```html + + + + +``` Make sure your systemjs.config has the following configuration: @@ -181,23 +197,6 @@ bootstrap(MyDemoApp, [ **showDialogUpload**: {boolean} optional) default true. Hide/show upload dialog.
-#### Style -The style of this component is based on material design, so if you want to visualize it correctly you have to add the material -design dependency to your project: - -```sh -npm install --save material-design-icons material-design-lite -``` - -Also make sure you include these dependencies in your .html page: - -```html - - - - -``` - ## Build from sources Alternatively you can build component from sources with the following commands: diff --git a/ng2-components/ng2-alfresco-viewer/README.md b/ng2-components/ng2-alfresco-viewer/README.md index 3dbd4a7798..2d5ee38829 100644 --- a/ng2-components/ng2-alfresco-viewer/README.md +++ b/ng2-components/ng2-alfresco-viewer/README.md @@ -26,6 +26,23 @@ Add the following dependency to your index.html: ``` +#### Style +The style of this component is based on material design, so if you want to visualize it correctly you have to add the material +design dependency to your project: + +```sh +npm install --save material-design-icons material-design-lite +``` + +Also make sure you include these dependencies in your .html page: + +```html + + + + +``` + Make sure your systemjs.config has the following configuration: ```javascript @@ -95,23 +112,6 @@ Method | Parameters | Returns | Description --- | --- | --- | --- `methodName()` | None. | void | Lorem ipsum dolor. -#### Style -The style of this component is based on material design, so if you want to visualize it correctly you have to add the material -design dependency to your project: - -```sh -npm install --save material-design-icons material-design-lite -``` - -Also make sure you include these dependencies in your .html page: - -```html - - - - -``` - ## Build from sources Alternatively you can build component from sources with the following commands: