Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.
/ vega-lite-ui Public archive

Common UI Library that powers Polestar and Voyager

License

Notifications You must be signed in to change notification settings

vega/vega-lite-ui

vega-lite-ui

Build Status npm dependencies npm version

Common UI Library for Polestar and Voyager.

Build Process

To use vega-lite-ui, you need to install its dependencies and build the vlui.js and vlui.min.js scripts. We assume that you have npm installed.

  1. Run npm install in the vega-lite-ui repository folder to install the dependencies needed to build vega-lite-ui
  • Note: vega-lite-ui uses Bower for client-side dependency management. Bower will automatically run its own installation process once the npm install completes, but if you need to run additional bower commands, the bower command-line utility can be globally installed with npm install -g bower.
  1. Run npm run build. This will use Gulp to concatenate the source files together into vlui.js, then use uglify-js to create the minified vlui.min.js.

Notes for Developer

  • Since fieldDef in Vega-Lite is equivalent to encodingQuery in CompassQL but this project predates CompassQL, we use fieldDef to refer to both of them.