Skip to content

soulflyer/electron-re-frame-example

Repository files navigation

Electron and re-frame sample project

This is a very basic clojurescript hello-world project that uses electron and re-frame. It also includes re-frame-10x and cider integration. It is heavily based on Descjop And you should probably check that out for further information. Here is a shortened version of the setup instructions (mac biased)

setup

$ npm install -g grunt-cli
$ lein descjop-init
$ lein descjop-externs
$ lein descjop-once
$ lein descjop-figwheel    # or C-c M-j from emacs
$ ./electron/Electron.app/Contents/MacOS/Electron app/dev

Use

Fire it up. It says hello. Check out the re-frame documentation for where to go next. Also check out how to use re-frame-10x.

The master branch just says hello. There is a little more code in the call-api branch, including bare bones event subs and views files for re-frame. It also shows re-frame-10x in action.

License

THE TEA-WARE LICENSE" (Revision 42):

Iain Wood wrote this file. You can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a cup of tea in return.

(Credit to Poul-Henning Kamp and his beer-ware licence.)

About

hello-world for re-frame and electron

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published