This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-22
Channels
- # announcements (3)
- # babashka (6)
- # beginners (29)
- # calva (10)
- # cider (14)
- # clj-kondo (67)
- # cljfx (6)
- # clojure (34)
- # clojure-australia (1)
- # clojure-europe (46)
- # clojure-italy (5)
- # clojure-nl (3)
- # clojure-spec (6)
- # clojure-uk (27)
- # clojured (1)
- # clojurescript (26)
- # conjure (14)
- # cursive (5)
- # data-science (1)
- # datomic (26)
- # deps-new (10)
- # editors (1)
- # events (2)
- # fulcro (23)
- # graalvm (41)
- # honeysql (5)
- # introduce-yourself (1)
- # jobs (1)
- # jobs-discuss (1)
- # luminus (2)
- # malli (22)
- # meander (5)
- # observability (3)
- # podcasts-discuss (1)
- # rdf (3)
- # re-frame (27)
- # remote-jobs (7)
- # reveal (6)
- # shadow-cljs (45)
- # xtdb (8)
Is there a list of user created templates using clj-new? I'm looking for a full stack template with ring/reitit/integrant on the backend run through deps.edn and reagent/re-frame ran through shadow-cljs on the frontend. I found some repos from https://github.com/prestancedesign but wanted to see if I could get my own similar app started with clj-new
@chase-lambert In the readme, under Templates https://github.com/seancorfield/clj-new#templates there are links to searches on Clojars for templates.
Remember that you can use clj-new
to create projects from lein
templates as well as clj
templates — but you would likely end up with project.clj
instead of deps.edn
and you’d have to convert the project yourself.
Compared to Leiningen, this is still all a bit new, so there are only 30 clj
templates listed on Clojars right now.
shadow-cljs
seems to be “its own thing” for frontend stuff — looking at its doc page I see almost no mention of either project.clj
/`lein` or deps.edn
/CLI. I know you can use Figwheel Main with the CLI and deps.edn
. And obviously you can build your backend with the CLI/`deps.edn`.
Thanks for the guidance. I'm leaning towards just starting from absolute scratch and actually learning my tools here. I will explore Figwheel Main, I haven't tried that yet. I know shadow cljs "just works" with my editor (nvim + conjure) but I'm sure I can get the same with Figwheel Main and then I get to use deps.edn to run all of it huh?
Yeah, I am dabbling in cljs again these days — after a long break — and I felt Shadow was too npm-heavy for my tastes, so I liked the streamlined approach of Figwheel Main and was able to get up and running with the CLI / deps.edn
on that, just following the docs, without a template.
Side question as I am rolling my own, clj-new provides a pom.xml file. I'm gathering from skimming the docs that this is if I was planning on submitting to clojars? (I'm not)
@chase-lambert Right, pom.xml
files are only needed if you plan to deploy a library to Maven/Clojars.
(and it is not needed if you are building an app rather than a library)