Awhile ago I wrote about how to set up Shadow-CLJS with Middleman. I finally got around to making a Middleman project template to ease the process of setting up Shadow-CLJS. The source is available on GitHub.
To use the template, you'll need to have Middleman and Yarn installed. You can generate a new project using Middleman's -T
option like this:
middleman init my_project -T bnadlerjr/middleman-shadow-cljs
When you run middleman server
, your CLJS code will compiled automatically. I hope this allows more people who are familiar with Middleman to give Shadow-CLJS a try.