A Clojure/Clojurescript example of server rendered rum application
To get an interactive development environment run:
git clone https://github.com/dibenso/figwheel-rum-example.git
cd figwheel-rum-example
lein figwheel
and open your browser at localhost:3449. This will auto compile and send all changes to the browser without the need to reload. After the compilation process is complete, you will get a Browser Connected REPL. An easy way to try it is:
(js/alert "Am I connected?")
and you should see an alert in the browser window.
To clean all compiled files:
lein clean
To create a production build run:
lein do clean, cljsbuild once min
lein repl
Once the REPL accepts input:
(start-production-server)
And open your browser in http://localhost:3000
. You will not
get live reloading.
- Fork the repo
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull request so that we can review your changes
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
This project is licensed under the MIT License - see the LICENSE.md file for details