Spectrum Spatial (SSA/LIM)

Expand all | Collapse all

Import npm extensions

  • 1.  Import npm extensions

    Posted 05-06-2019 04:27
    Hello,

    I would like to know if it is possible to import npm libraries and how? For example, are there a specific path when including library in a component?

    Thanks you,

    Augustin Boyer

    ------------------------------
    Augustin Boyer
    GEO RM
    Jaunay-Marigny
    ------------------------------


  • 2.  RE: Import npm extensions

    Pitney Bowes
    Posted 05-08-2019 01:41
      |   view attached
    Hi Augustin,

    There are few libraries which are part of the product and can be consumed directly in the extensible component. But in case you want to use any third party library which is not part of the product then you need to add an entry in CustomAnalystModuleConfig.json.

    Please find the attached chart.zip that contains CustomAnalystModuleConfig.json and component file containing how we use a third-party library.

    Thanks & Regards,
    Rachit Jain

    ------------------------------
    RACHIT JAIN
    Knowledge Community Shared Account
    ------------------------------

    Attachment(s)

    zip
    chart.zip   1K 1 version