Motif API
    Preparing search index...

    Motif API

    Motif API

    NPM version License

    API used to build Motif extensions

    Use this documentation to understand how to build a Motif Extension using this Motif API:

    https://plxtra.org/motif-api/Overview/

    npm i @plxtra/motif-api
    

    This generates the API documentation directly from the Motif repository. This is useful if you are using Motif to debug an extension and want to ensure that the Motif API exactly matches the Motif being used to debug the extension.

    1. Install the Plxtra motif repository and this motif-api repository in the same folder.
    2. Set the version in this @plxtra/motif-api package so that it matches the @plxtra/motif (Motif) package version.
    3. Run the dist script in this @plxtra/motif-api package:
      npm run dist
      
    1. Build the API:
    2. Review files to be published with:
      npm pack
      
    3. Publish to npm
      npm publish
      
    1. Install the following Plxtra repositories in the same folder:
    2. Build the API:
    3. Run the docs:build script in this @plxtra/motif-api repository:
      npm run docs:build
      
    1. Build the API documentation
    2. Run the docs:serve script in this @plxtra/motif-api repository:
      npm run docs:serve