Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

How to use npm packages? #69

Open
gutenye opened this issue Apr 22, 2015 · 2 comments
Open

How to use npm packages? #69

gutenye opened this issue Apr 22, 2015 · 2 comments

Comments

@gutenye
Copy link

gutenye commented Apr 22, 2015

React use npm packages, while meteor use its own package system. For example react-d3-components is only avaliable on npm, so how can I use it in react-meteor?

@beverlycodes
Copy link

I've been resorting to downloading pre-built distributables when available in the package repos, such as react-d3-components.min.js and placing them somewhere in the lib folder of my Meteor apps so that they load before I need them. It's not an ideal solution, but a lot of modern techniques just don't work in Meteor since it uses its own custom packaging system and does not include any kind of real module support.

@cranesandcaff
Copy link

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

No branches or pull requests

3 participants