PLM Tool
npm install plm-angular-appBefore you start using this development framework, make sure you have installed all required software and done all the
necessary configuration, see this page.
Follow the 3 steps below:
1. Npm
``sh`
npm install PLM-angular-app --save
2. Html
Include these dependencies in your index.html page:
`html
`
3. SystemJs
Add the following components to your systemjs.config.js file:
- ng2-translate
- alfresco-js-api
- ng2-alfresco-core
- PLM-angular-app
Please refer to the following example file: systemjs.config.js .
PLM Tool
`html`
Usage example of this component :
main.ts
`ts
`
#### Events
Method | Parameters | Returns | Description
--- | --- | --- | ---
methodName() | None. | void | Lorem ipsum dolor.
#### Options
Attribute | Options | Default | Description
--- | --- | --- | ---
foo | string | bar | Lorem ipsum dolor.
Alternatively you can build component from sources with the following commands:
`sh`
npm install
npm run build
`sh`
$ npm run build:w
`sh`
npm test
`sh`
npm test-browser
This task rebuilds all the code, runs tslint, license checks and other quality check tools
before performing unit testing.
`sh`
npm run coverage
If you want have a demo of how the component works, please check the demo folder :
`sh``
cd demo
npm install
npm start
| Command | Description |
| --- | --- |
| npm run build | Build component |
| npm run build:w | Build component and keep watching the changes |
| npm run test | Run unit tests in the console |
| npm run test-browser | Run unit tests in the browser
| npm run coverage | Run unit tests and display code coverage report |
| npm run build.umd |Build the UMD bundle package |
For detailed changelog, check Releases.