r/Clojurescript • u/mrkaspa • Jul 31 '17
How to use cljs inside a webpack react project
I want to migrate progressively a js projecto to cljs
6
Upvotes
r/Clojurescript • u/mrkaspa • Jul 31 '17
I want to migrate progressively a js projecto to cljs
3
u/thheller Aug 01 '17
I'm the author of
shadow-cljswhich aims to provide integration into JS tools likewebpack.I made an example for webpack:
Feel free to ask quesions if some things are unclear. I'm still working out the documentation.
Edit: There is also an example of using it with
create-react-appIt is not entirely "zero-config" anymore but
shadow-cljs initgets you started.2
u/eccp Aug 01 '17
I replied in another thread but copying the link here just in case:
https://hashnode.com/post/early-stage-live-coding-clojurescript-with-webpack-cj2w4lsiv006ul7k8rcp9bqvd