This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-04
Channels
- # announcements (19)
- # babashka (11)
- # babashka-sci-dev (9)
- # beginners (71)
- # calva (25)
- # cider (1)
- # clara (36)
- # clj-kondo (47)
- # clojure (65)
- # clojure-dev (64)
- # clojure-europe (9)
- # clojure-nl (2)
- # clojure-seattle (1)
- # clojure-uk (2)
- # clojured (8)
- # clojurescript (17)
- # cursive (9)
- # data-science (36)
- # datahike (11)
- # emacs (10)
- # figwheel-main (19)
- # fulcro (15)
- # graalvm (12)
- # humbleui (5)
- # introduce-yourself (3)
- # jobs (10)
- # leiningen (4)
- # lsp (24)
- # malli (7)
- # nextjournal (23)
- # off-topic (1)
- # pedestal (2)
- # polylith (6)
- # portal (1)
- # re-frame (3)
- # reitit (2)
- # releases (2)
- # remote-jobs (1)
- # reveal (9)
- # shadow-cljs (13)
- # spacemacs (6)
- # xtdb (3)
Hi All, I am looking for a "Create-FighwheelMain-Reagent-Reframe-App" tool. Or , such a barebones project repo. Can someone help.
I use this template for figwheel-main and reagent projects, works very well https://github.com/bhauman/figwheel-main-template
Hi John, thank you. I was following Figwheel documentation and started using cljtools based project. Somewhere along the line, the build broke. Besides, the fighwheel documenttion does not show how to add Reagent, Reframe to the project when using clj tools instead of leiningen..
I will try this and update.
clojure -Ttools install com.github.seancorfield/clj-new '{:git/tag "v1.2.381"}' :as clj-new
$ clojure -X:new clj-new/create :template figwheel-main :name bse/core :args '["+npm-bundle","+bare-index","+deps","--reagent"]'
Namespace could not be loaded: clj-new
It is unable to find clj-new, even though I installed it
Not sure what I messed up
This worked:
clojure -Tclj-new create
This did not work: X:new
An example that adds options with template
clojure -Tclj-new create :template figwheel-main :name practicalli/landing-page :args '["--reagent"]'
In my practicalli/clojure-deps-edn I use an alias rather than install the tool. The alias calls the creat function, so it doesn't need to be specified
clojure -T:project/new :template figwheel-main :name practicalli/landing-page :args '["--reagent"]'
There are some other examples here https://github.com/practicalli/clojure-deps-edn#create-new-projects-from-templates
Thank you. I will check it.
i have a small project which is running in prod, now I am writing frontend code to it, Wanted to do it in figwheel, Is there any lein command which converts it to figwheel project ?