Fork me on GitHub
#hoplon
<
2019-03-02
>
denis_krivosheev08:03:50

Hello it’s me again 😊 I’ve been searching for some time and google didn’t help me, but maybe you will help. I want to use some node modules in my project. Is there a way to add npm dependencies to boot somehow? Or if not is it possible to use Hoplon with shadow-cljs instead of boot? Are there any examples?

dave12:03:06

@denis_krivosheev have you looked at https://github.com/degree9/boot-npm ?

denis_krivosheev17:03:25

Hi @dave. No, I didn’t see that… ok, I installed my dependencies with boot-npm, but how can I use them from cljs? How can I require npm module?

mynomoto17:03:21

Hoplon works on shadow-cljs and I would really recommend that if you are using npm modules.

flyboarder17:03:28

@denis_krivosheev if you want shadow-cljs support check out http://github.com/degree9/boot-shadow

flyboarder17:03:08

The degree9 organization on github should have all the tasks you need for anything hoplon related, if it doesn’t let me know and I will throw some code up

denis_krivosheev17:03:18

Great! Thanks a lot!