This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-10
Channels
- # babashka (17)
- # beginners (57)
- # calva (19)
- # cider (1)
- # clj-kondo (21)
- # clojure (36)
- # clojure-austin (15)
- # clojure-australia (1)
- # clojure-china (1)
- # clojure-europe (35)
- # clojure-filipino (1)
- # clojure-hk (1)
- # clojure-indonesia (1)
- # clojure-japan (1)
- # clojure-korea (2)
- # clojure-my (1)
- # clojure-nl (1)
- # clojure-norway (5)
- # clojure-sg (1)
- # clojure-spec (6)
- # clojure-taiwan (1)
- # clojure-uk (3)
- # clojurescript (7)
- # clr (9)
- # community-development (5)
- # cursive (14)
- # datalevin (1)
- # emacs (5)
- # events (5)
- # exercism (2)
- # figwheel-main (2)
- # fulcro (6)
- # funcool (3)
- # introduce-yourself (2)
- # joyride (7)
- # leiningen (4)
- # london-clojurians (9)
- # malli (3)
- # membrane (1)
- # missionary (54)
- # music (1)
- # nbb (2)
- # pathom (5)
- # pedestal (55)
- # rdf (13)
- # re-frame (10)
- # reitit (3)
- # shadow-cljs (17)
- # vim (58)
- # web-security (12)
Background: I am trying to make a fresh start with a CLJS project that started with lein mies
and then, after a half-baked attempt to switch to figwheel broke on the build, and now I am trying to get that project going again, while at the same time exploring the CLJS build field.
Constraint: I do not want to involve React directly or indirectly thru Reagent et al.
My plan is to get a minimalist hello world going and then grow back the original project just by copying in the original source.
Working from the figwheel template page https://rigsomelight.com/figwheel-main-template/ I managed to get a lein
-based minimal project running. yay.
Then I tried the deps variant:
$ clj
Clojure 1.11.1
user=> ^C
$ clojure -Ttools install io.github.seancorfield/deps-new '{:git/tag "v0.4.13"}' :as new
Installed new
$ clojure -Ttools install com.github.seancorfield/clj-new '{:git/tag "v1.2.399"}' :as clj-new
Installed clj-new
$ clj -X:new clj-new/create :template figwheel-main :name yourname/hello-world :args '["--reagent"]'
Namespace could not be loaded: clj-new
I installed both clj-new and deps-new because the figwheel doc specifically mentioned clj-new, but the clj-new doc recommended deps-new. 🤷
Am I missing sth trivial?
Mind you, I am just being a lazy sod and trying to get away with a quick start. I will go with the full tutorial after a quick lazy look at shadow-cljs quick starts.Full tutorial went fine. Nice doc! 👏