How to use CLJS + Node.js (+ node -webkit)

How to achieve this integration? Mostly integration with Node, because I have been doing this for several days, trying to try myself and reading blog posts, but I can not get it to work. The reason, apparently, is that it has no recent blog posts.

So my questions are:

  • How to integrate CLJS with Node.js? Basically, how to use the Node function require?
  • After working with Node, IE can be done node file.jsin the generated CLJS file, and it works, is there anything special for proper integration with node-webkit?

In addition, what does :target :nodejscljsbuild actually do in the compilation settings?

I would also like to find a working solution. Please do not give me a blog post or anything like that, because I am sure I read them all and none of them were successful.

Also, something like a miesSwannondete template would be nice, but it would be nice to work with Node and / or node-webkit. :)

+4
source share

All Articles