All Projects → gadfly361 → Reagent Figwheel

gadfly361 / Reagent Figwheel

Licence: mit
Leiningen template for Reagent applications in Clojurescript with Figwheel. Optionally includes secretary, cljs.test, garden, less, cider, devcards, cljs-devtools, re-risk

Programming Languages

clojure
4091 projects

Projects that are alternatives of or similar to Reagent Figwheel

Lein template descjop
A Leiningen template(Clojure/ClojureScript Project) for Web based desktop application with Electron (atom-shell).
Stars: ✭ 394 (+144.72%)
Mutual labels:  leiningen, reagent
nw-calculator
A crafting calculator for the New World game
Stars: ✭ 16 (-90.06%)
Mutual labels:  reagent, leiningen
Poi Tl
Generate awesome word(docx) with template
Stars: ✭ 2,306 (+1332.3%)
Mutual labels:  template
Kotlin Openapi Spring Functional Template
🍃 Kotlin Spring 5 Webflux functional application with api request validation and interactive api doc
Stars: ✭ 159 (-1.24%)
Mutual labels:  template
Ios Landing Page
Landing page template for iOS apps
Stars: ✭ 155 (-3.73%)
Mutual labels:  template
Skeleton Sass
Skeleton Sass is a highly modular version of Skeleton CSS
Stars: ✭ 151 (-6.21%)
Mutual labels:  template
Typescript Mern Starter
Build a real fullstack app (backend+website+mobile) in 100% Typescript
Stars: ✭ 154 (-4.35%)
Mutual labels:  template
Library Template Android
A Kotlin + Android library template (with a sample project).
Stars: ✭ 151 (-6.21%)
Mutual labels:  template
Angular Pro Sidebar
Responsive sidebar template with dropdown menu built with angular 7 and bootstrap 4
Stars: ✭ 160 (-0.62%)
Mutual labels:  template
Uiadmin
UIAdmin - UI Kit 3 Responsive Admin Panel
Stars: ✭ 155 (-3.73%)
Mutual labels:  template
Antq
Point out your outdated dependencies.
Stars: ✭ 157 (-2.48%)
Mutual labels:  leiningen
Scribusgenerator
Create beautiful documents with data. Open source pdf (and Scribus) template and mail-merge alternative.
Stars: ✭ 154 (-4.35%)
Mutual labels:  template
Kickster
Worry-free deploying to GitHub Pages using Jekyll
Stars: ✭ 151 (-6.21%)
Mutual labels:  template
Eval
Eval is a lightweight interpreter framework written in Swift, evaluating expressions at runtime
Stars: ✭ 157 (-2.48%)
Mutual labels:  template
Developerfolio
🚀 Software Developer Portfolio Template that helps you showcase your work and skills as a software developer.
Stars: ✭ 2,814 (+1647.83%)
Mutual labels:  template
Majesticadmin Free Bootstrap Admin Template
Simple Bootstrap 4 Dashboard template.
Stars: ✭ 160 (-0.62%)
Mutual labels:  template
React Template Easily
简单易用的react工程化模板,适用于h5,webapp,hybrid开发
Stars: ✭ 151 (-6.21%)
Mutual labels:  template
Soda Ash
Soda-ash is an interface between clojurescript's Reagent and Semantic UI React
Stars: ✭ 153 (-4.97%)
Mutual labels:  reagent
React Native Typescript Boilerplate
React Native Typescript starter kit / template (Redux Thunk + React Native Navigation v7 + TSLint)
Stars: ✭ 155 (-3.73%)
Mutual labels:  template
Js Workshop
Reagent Workshop for React developers
Stars: ✭ 161 (+0%)
Mutual labels:  reagent

reagent-figwheel (leiningen template)

Leiningen template for reagent web apps.

Through the use of profiles, this template lets the developer pick and choose what is included in their application.

Usage

The base template includes:

To create an application with the base template:

lein new reagent-figwheel <project-name>

The optional profiles include:

To add a profile to the base template, just append the profile name (let's use +routes as an example):

lein new reagent-figwheel <project-name> +routes

Any combinations of profiles can be added at once, for example:

lein new reagent-figwheel <project-name> +cider +test +garden +less +routes +re-frisk

Development Mode

Start Cider from Emacs (if using +cider):

Put this in your Emacs config file:

(setq cider-cljs-lein-repl "(do (use 'figwheel-sidecar.repl-api) (start-figwheel!) (cljs-repl))")

Navigate to a clojurescript file and start a figwheel REPL with cider-jack-in-clojurescript or (C-c M-J)

cljs-devtools (if using +devtools)

To enable:

  1. Open Chrome's DevTools,Ctrl-Shift-i
  2. Open "Settings", F1
  3. Check "Enable custom formatters" under the "Console" section
  4. close and re-open DevTools

Compile css (if using +garden or +less):

Compile css file once.

lein garden once

or

lein less once

Automatically recompile css file on change.

lein garden auto

or

lein less auto

Run application:

lein clean
lein figwheel dev

Figwheel will automatically push cljs changes to the browser.

Wait a bit, then browse to http://localhost:3449.

Run tests (if using +test):

lein clean
lein doo phantom test once

The above command assumes that you have phantomjs installed. However, please note that doo can be configured to run cljs.test in many other JS environments (chrome, ie, safari, opera, slimer, node, rhino, or nashorn).

Devcards (if using +devcards)

lein clean
lein figwheel devcards

Figwheel will automatically push cljs changes to the browser.

Wait a bit, then browse to http://localhost:3449/cards.html.


To build a minified version:

lein clean
lein cljsbuild once hostedcards

Then open resources/public/cards.html

Production Build

lein clean
lein cljsbuild once min

Other Templates

There is also a public comparison chart of the common templates.

License

The MIT License (MIT)

Copyright © 2014 Matthew Jaoudi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].