This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-06
Channels
- # babashka (31)
- # beginners (108)
- # calva (6)
- # clj-kondo (62)
- # cljsrn (5)
- # clojure (29)
- # clojure-australia (2)
- # clojure-europe (17)
- # clojure-nl (2)
- # clojure-spec (5)
- # clojure-uk (7)
- # clojurescript (25)
- # code-reviews (1)
- # datomic (13)
- # deps-new (7)
- # editors (1)
- # emacs (31)
- # figwheel-main (3)
- # garden (4)
- # graalvm (18)
- # helix (10)
- # improve-getting-started (12)
- # jobs (3)
- # lsp (20)
- # malli (12)
- # off-topic (7)
- # polylith (30)
- # re-frame (10)
- # remote-jobs (2)
- # shadow-cljs (18)
- # spacemacs (5)
- # sql (11)
- # tools-deps (10)
- # vim (9)
- # xtdb (1)
I fail creating a new re-frame project with extras:
clojure -T:new create :template re-frame :name foo/bar :output bar :args '[+10x +routes]'
=> Unreadable arg: "[+10x +routes]"
What am I doing wrong? (I fail with the same error message when trying with clj-new
. )+10x
is not a valid EDN symbol and needs to be quoted as a string.
Also deps-new
doesn't read Leiningen templates - you'll gave to use clj-new
your that (or just lein new
).
The shadow-cljs.edn file created with
clojure -X:new :template re-frame :name foo/bar :output bar :args '["+10x" +routes]'
gets an :init-fn foo/bar.core/init
entry. Is it me using the command wrong or is something else in the chain broken?Not all project templates work with qualified/names and some of them require dotted.names instead.