vega/voyager

Embedding - README instructions are out of date / incorrect

happybeing opened this issue · 0 comments

Please:

  • Check for duplicate issues

The Embed Voyager instructions in the README need updating.

  1. The const libVoyager = require('voyager'); may be incorrect as the import was undefined. When embedding in my Svelte test I successfully used:
import {Voyager, CreateVoyager} from 'datavoyager';
  1. When embedding there are a number of missing dependencies including node-sass and font-awesome.

  2. The styles.css doesn't appear to be present in the voyager repo, so I copied it from voyager/node_modules/datavoyager/dist.

Voyager is great, thank you very much. Hope the above helps.