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).
Thanks!
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?Just fixing that entry makes the project work.
Not all project templates work with qualified/names and some of them require dotted.names instead.