diff --git a/ng2-components/ng2-alfresco-documentlist/README.md b/ng2-components/ng2-alfresco-documentlist/README.md index f8040ab9f0..425e2930ca 100644 --- a/ng2-components/ng2-alfresco-documentlist/README.md +++ b/ng2-components/ng2-alfresco-documentlist/README.md @@ -24,15 +24,6 @@ Add the following dependency to your index.html: ``` -Also make sure you include these dependencies in your .html page: - -```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: @@ -41,6 +32,15 @@ design dependency to your project: npm install --save material-design-icons material-design-lite ``` +Also make sure you include the following in your .html page: + +```html + + + + +``` + ## Basic usage ```html @@ -64,13 +64,13 @@ import { AlfrescoAuthenticationService, AlfrescoPipeTranslate, AlfrescoTranslationService -} from 'ng2-alfresco-core/dist/ng2-alfresco-core'; +} from 'ng2-alfresco-core'; import { DOCUMENT_LIST_DIRECTIVES, DOCUMENT_LIST_PROVIDERS, DocumentActionsService -} from 'ng2-alfresco-documentlist/dist/ng2-alfresco-documentlist'; +} from 'ng2-alfresco-documentlist'; @Component({ selector: 'alfresco-documentlist-demo', @@ -394,12 +394,12 @@ Enabling context menu is very simple: import { CONTEXT_MENU_DIRECTIVES, CONTEXT_MENU_PROVIDERS -} from 'ng2-alfresco-core/dist/ng2-alfresco-core'; +} from 'ng2-alfresco-core'; import { DOCUMENT_LIST_DIRECTIVES, DOCUMENT_LIST_PROVIDERS -} from 'ng2-alfresco-documentlist/dist/ng2-alfresco-documentlist'; +} from 'ng2-alfresco-documentlist'; @Component({ selector: 'my-view', @@ -574,7 +574,7 @@ function each time upon being invoked. ```ts import { DocumentActionsService -} from 'ng2-alfresco-documentlist/ng2-alfresco-documentlist'; +} from 'ng2-alfresco-documentlist'; export class MyView {