diff --git a/ng2-components/ng2-alfresco-documentlist/README.md b/ng2-components/ng2-alfresco-documentlist/README.md index 3406d09752..40dcf2ed0d 100644 --- a/ng2-components/ng2-alfresco-documentlist/README.md +++ b/ng2-components/ng2-alfresco-documentlist/README.md @@ -468,6 +468,22 @@ 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 diff --git a/ng2-components/ng2-alfresco-documentlist/demo/package.json b/ng2-components/ng2-alfresco-documentlist/demo/package.json index 875ca38546..6dd8d0b297 100644 --- a/ng2-components/ng2-alfresco-documentlist/demo/package.json +++ b/ng2-components/ng2-alfresco-documentlist/demo/package.json @@ -24,9 +24,6 @@ "material-design-icons": "^2.2.3", "material-design-lite": "^1.1.3", "zone.js": "0.6.10", - "ng2-translate": "^1.11.3", - "alfresco-core-rest-api": "^0.1.0", - "ng2-alfresco-core": "^0.1.0", "ng2-alfresco-documentlist": "^0.1.0" }, "devDependencies": { diff --git a/ng2-components/ng2-alfresco-login/README.md b/ng2-components/ng2-alfresco-login/README.md index c350988cfc..f89aa3e35e 100644 --- a/ng2-components/ng2-alfresco-login/README.md +++ b/ng2-components/ng2-alfresco-login/README.md @@ -16,16 +16,6 @@ npm set registry http://devproducts.alfresco.me:4873 npm install --save ng2-alfresco-login ``` - -## Build from sources -Alternatively you can build component from sources with the following commands: - - -```sh -npm install -npm run build -``` - Components included: * Alfresco Login Component @@ -142,6 +132,32 @@ 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: + + +```sh +npm install +npm run build +``` + ## Running unit tests ```sh diff --git a/ng2-components/ng2-alfresco-upload/README.md b/ng2-components/ng2-alfresco-upload/README.md index 7a08abeee9..86fcf29d85 100644 --- a/ng2-components/ng2-alfresco-upload/README.md +++ b/ng2-components/ng2-alfresco-upload/README.md @@ -16,16 +16,6 @@ npm set registry http://devproducts.alfresco.me:4873 npm install --save ng2-alfresco-upload ``` - -## Build from sources -Alternatively you can build component from sources with the following commands: - - -```sh -npm install -npm run build -``` - Components included: - [Upload button](#upload-button) @@ -191,6 +181,32 @@ 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: + + +```sh +npm install +npm run build +``` + ## Running unit tests ```sh diff --git a/ng2-components/ng2-alfresco-viewer/README.md b/ng2-components/ng2-alfresco-viewer/README.md index 069be18ac8..3dbd4a7798 100644 --- a/ng2-components/ng2-alfresco-viewer/README.md +++ b/ng2-components/ng2-alfresco-viewer/README.md @@ -16,15 +16,6 @@ npm set registry http://devproducts.alfresco.me:4873 npm install --save ng2-alfresco-viewer ``` - -## Build from sources -Alternatively you can build component from sources with the following commands: - -```sh -npm install -npm run build -``` - #### Dependencies Add the following dependency to your index.html: @@ -104,6 +95,32 @@ 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: + +```sh +npm install +npm run build +``` + ## Running unit tests ```sh