primo-explore-cam-my-lib-card-link

0.0.8 • Public • Published

primo-explore Cambridge link to my library card

Usage

  • add a package.json file in your customization package folder root.

For example, if you are developing a package for the Auto1 view

  • Add the file under primo-explore-devenv/primo-explore/custom/Auto1

  • The content of the file should be:

{
  "name": "<your view code>",
  "version": "<your version>",
  "description": "",
  "author": "",
  "devDependencies": {
    "primo-explore-altmetrics-widget": "0.0.1"
  }
}
  • go to your command line (in windows: type cmd in the start > run box)

  • navigate to the location of the package.json file

       cd primo-explore-devenv/primo-explore/custom/Auto1
    
  • type npm install

  • you will se a new folder was added in the same location named node_modules

  • Now you can see the widget in your full view once you find a record with a doi field

Readme

Keywords

none

Package Sidebar

Install

npm i primo-explore-cam-my-lib-card-link

Weekly Downloads

0

Version

0.0.8

License

none

Unpacked Size

10.1 kB

Total Files

8

Last publish

Collaborators

  • noamamit92
  • oladeji