Meteor packet d3

So, I went on to the instructions in question. How to build a Meteor package and create it for the d3 visualization library using this code.

Package.describe({
 summary: "Make cool visualizations with d3"
});

Package.on_use(function (api) {
  api.use('d3', 'client');
  api.add_files('d3.v2.js', 'client');
});

I ran a meteor script from my github checkout (where I added this package). Then I created a new meteorite app, but I still don’t see d3 turning on ... Did I skip a step?

+3
source share
2 answers

Make sure you use your own version of the meteorite, not the default setting.

Then run <your meteor> add <your package name>from the project root directory.

+3
source

One point to add to the above. With d3, I get errors from Meteor until I remove the "server" link in the package file above.

+2
source

All Articles