Install Dependencies and Build the Custom Chart Using the CLI

This applies to: Visual Data Discovery

To install dependencies and build the custom chart using the custom chart CLI:

  1. Run the following command at the root level of the newly created custom chart to install dependencies:

    npm install
  2. Run the following command at the root level of the custom chart to build the chart:

    $ npm run build

Custom chart CLI version 5 only supports the use of vnd.composer.v2+json as the Content-Type for API routes. CLI version 4 only supports the use of vnd.zoomdata.v2+json.