lrw-package v1.0.1
Lrw-Package
This library was generated with Angular CLI version 15.2.0.
How to install in Dspace
Run npm install lrw-package
Note: if you have dependencies errors, use
npm install lrw-package --force
or try to fix peerDependencies, we recomend use --force in this case.
How to use lrw-package widgets
Import "LrwPackageModule" in your dspace proyect, we recomend to import this in your "shared" folder, like this:
Then you can use component in those moduls where you have imported your "SharedModule"
Choose your widget
You need to choose your widget passing one of this list of strings into the widgetType: 1. 'lrw' 2. 'lrhw'
For example <lib-lrw-package widgetType="'lrw'">, you can use more than one like this:
<lib-lrw-package widgetType="'lrw'"> <lib-lrw-package widgetType="'lrhw'">
How to configure the widget
In the "assets" file, you need to create (if you haven't) a "data" folder, and inside that folder you need to put the "widget.config.json"
Download the "widgetConfig.json" here.