Skip to content

Clarify documentation #102

@lapidus

Description

@lapidus

I am trying to run the ddfCsvReader on the server per the documentation:

const Vizabi = require('vizabi');
const ddfCsvReader = require('vizabi-ddfcsv-reader');
const readerObject = ddfCsvReader.getDDFCsvReaderObject();
Vizabi.Reader.extend('ddf-csv-reader', readerObject);

This gives me "d3 not found". So I simplify to:

const ddfCsvReader = require('vizabi-ddfcsv-reader');
const readerObject = ddfCsvReader.getDDFCsvReaderObject();

This works after building node_modules/vizabi-ddfcsv-reader.
(Note: The build works but gives some errors "ERROR in Entry module not found: Error: Can't resolve './src'")

Would be super helpful if you could update the example and the built version.

Thank you :)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions