reagent-project/reagent-frontend-template

Name: reagent-frontend-template

Owner: reagent-project

Description: template for creating Reagent projects without a backend

Created: 2016-02-12 14:38:18.0

Updated: 2018-05-07 23:41:00.0

Pushed: 2018-05-07 23:40:59.0

Homepage: null

Size: 34

Language: Clojure

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

reagent-frontend-template

A Leiningen template for projects using Reagent.

reagent-template

A Leiningen template for a minimal ClojureScript app based on Reagent. If you wish to create a project with a Clojure backend then consider using the reagent-template instead.

Requires JDK 1.7+
Getting Help

For any questions or discussion please come join us at the Reagent Google Group.

Usage

Create a new application project:

 new reagent-frontend <name>
Development mode

To start the Figwheel compiler, navigate to the project folder and run the following command in the terminal:

 figwheel

Figwheel will automatically push cljs changes to the browser. Once Figwheel starts up, you should be able to open the public/index.html page in the browser and see the changes refresh live. Alternatively, you could run python -m SimpleHTTPServer in the public folder.

Building for production
 clean
 package
Contents

The template packages everything you need to create a production ready ClojureScript application following current best practices. The template uses the following features and libraries:

Contributing & Customizing

Take a look at the open issues, especially ones marked as help wanted. If you see one you'd like to address don't hesitate to start a discussion or submit a pull request.

If the template isn't doing quite what you're looking for, it's easy to create a local copy of your own following these simple steps:

clone https://github.com/reagent-project/reagent-template.git
eagent-frontend-template
 install

If you feel that your customizations are general enough to be useful for others then please consider making a pull request.

Requirements
License

Copyright © 2015 Dmitri Sotnikov

Distributed under the The MIT License (MIT).


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.