This post captures my very first steps when I started using Reagent. I suspect this will be mainly for me to reference when I forget in future. The steps are quite simple but I wasted some time putting several sources of information together to get something going; between lein instantiating specific setup that the examples did not use, and the examples not being explicit about their setup, I found plenty of scope to break things.
Here is what I went with:
lein new reagent <name> +cider
here to create the project.clj and filestructure
- lein figwheel (within the project created above)
- then the example will be available at http://localhost:3449 once Figwheel starts up
- A good place to start is here: https://reagent-project.github.io/ which as some simple examples (good for proving your initial setup)
Areas for future study: https://github.com/reagent-project/reagent-cookbook