Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vx] add one stop install pkg @vx/vx #131

Merged
merged 1 commit into from
Aug 18, 2017
Merged

[vx] add one stop install pkg @vx/vx #131

merged 1 commit into from
Aug 18, 2017

Conversation

hshoff
Copy link
Member

@hshoff hshoff commented Aug 18, 2017

Fixes #33. Thanks to @andyfangdz for the suggestion.

If you're not worried about bundle size or you just want to play around with vx packages without having to install each one you can now do:

npm install --save @vx/vx react react-dom

and then use it like so

import { scaleLinear, AreaClosed, withTooltip } from '@vx/vx';
console.log(scaleBand);
console.log(AreaClosed);
console.log(withTooltip);

// or put everything under a vx namespace
import * as vx from '@vx/vx';
console.log(vx.scaleBand);
console.log(vx.AreaClosed);
console.log(vx.withTooltip);

@hshoff hshoff added this to the v0.0.137 milestone Aug 18, 2017
@hshoff hshoff merged commit d953e1a into master Aug 18, 2017
@hshoff hshoff deleted the harry-add-vxvx branch August 18, 2017 16:08
@williaster
Copy link
Collaborator

this is great! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants