Fork me on GitHub
#reagent
<
2018-08-10
>
manu10:08:39

Hi! I've just started a reagent-project.. What is the procedure to install an external react librarie (like https://www.npmjs.com/package/react-datepicker)? thx

manu10:08:26

I don't have a package.json file yet..

lsnape12:08:51

@manu are you using shadow-cljs? If so IIRC you just add it to the package.json. If you're not using shadow then you can try adding the deps to the compiler options, or you can check cljsjs for available packages.

lsnape12:08:27

In my experience shadow-cljs is by far the most reliable method of pulling in npm deps.

👍 8