Skip to content

Lein template for clojurescript webapp development using live editing

Notifications You must be signed in to change notification settings

ejlo/cljs-liveedit-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cljs-liveedit-webapp

A leiningen template for starting developing and live editing a clojurescript web app.

About

This is a collections of tools for getting started developing web apps with clojurescript. It is mostly an example, since there are so many way to set it up, so you will likely need to do a bit of configuring to get it how you like it.

Dependencies

  • nodejs, npm, bower, phantomjs

Install

Clone the repo and in its root directory, run

lein install

Usage

lein new cljs-liveedit-webapp myapp
cd myapp
scripts/install_deps.sh
grunt
firefox http://localhost:3449/index.html

Emacs browser repl

  • Put the contents of scrips/clojurescript in your .emacs and evaluate it
  • Start the repl with M-x cider-jack-in
  • Start the browser repl with (broswer-repl)
  • Reload the broswer

Features

  • automatically run tests
  • live reload of css and js files using lein-figwheel
  • clojurescript brower-repl
  • sourcemaps

License

Copyright (C) 2014 Erik Ouchterlony

Distributed under the Eclipse Public License, the same as Clojure.

About

Lein template for clojurescript webapp development using live editing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published