hoplon

The :hoplon: ClojureScript Web Framework - http://hoplon.io/
denis_krivosheev 2019-03-02T08:19:50.025800Z

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?

dave 2019-03-02T12:20:06.026100Z

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

denis_krivosheev 2019-03-02T17:01:25.027500Z

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?

2019-03-02T17:13:21.027900Z

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

flyboarder 2019-03-02T17:14:28.028700Z

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

flyboarder 2019-03-02T17:15:08.029500Z

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_krivosheev 2019-03-02T17:16:18.030100Z

Great! Thanks a lot!