~wakyct/fullstack-figwheel

A template to set up a Clojure and Clojurescript project with Figwheel-main
115d90b9 — wakyct 3 years ago
modify route to return index.html properly.
3049208b — wakyct 3 years ago
typos
0b0eb128 — wakyct 3 years ago
ibid

You can also use your local clone with git send-email.

#wakyct/fullstack-figwheel

#Setup

This is a template project for use with deps-new and the Clojure CLI tools. It sets up a Figwheel-main project with Clojure backend and Clojurescript frontend, following the Figwheel install docs.

To create a new project run

$ clojure -Sdeps '{:deps {net.clojars.wakyct/fullstack-figwheel {:local/root "."}}}' -Tnew create :template wakyct/fullstack-figwheel :name myusername/mycoollib

Note: once the template has been published (to a public git repo), the invocation will be the same, except the :local/root dependency will be replaced by a git or Maven-like coordinate.

This assumes you have installed deps-new as your new "tool" via:

clojure -Ttools install io.github.seancorfield/deps-new '{:git/tag "v0.4.13"}' :as new

#Testing

Run this template project's tests (by default, this just validates your template's template.edn file -- that it is valid EDN and it satisfies the deps-new Spec for template files):

$ clojure -T:build test

#License

Copyright © 2022 George Oliver

Distributed under the Eclipse Public License version 1.0.