This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-21
Channels
- # 100-days-of-code (6)
- # aleph (26)
- # beginners (129)
- # boot (5)
- # calva (3)
- # cider (5)
- # cljs-dev (16)
- # cljsrn (4)
- # clojure (204)
- # clojure-dev (36)
- # clojure-italy (23)
- # clojure-nl (4)
- # clojure-spec (221)
- # clojure-uk (60)
- # clojurescript (68)
- # datomic (47)
- # emacs (4)
- # figwheel-main (50)
- # fulcro (29)
- # graphql (10)
- # hyperfiddle (19)
- # lein-figwheel (3)
- # leiningen (20)
- # liberator (3)
- # off-topic (89)
- # onyx (15)
- # pedestal (1)
- # portkey (2)
- # re-frame (3)
- # reagent (6)
- # ring-swagger (1)
- # rum (12)
- # shadow-cljs (10)
- # uncomplicate (4)
- # vim (5)
I am doing an SPA on figwheel and I am trying to figure out how to configure it so that entering any route would return the`index.html`. I am looking at this answer on github (https://github.com/bhauman/lein-figwheel/issues/344#issuecomment-243922855) but I can not get it to work. My config for figwheel looks like this:
:figwheel {:http-server-root "."
:nrepl-port 7002
:ring-handler dev-server.server
:nrepl-middleware ["cemerick.piggieback/wrap-cljs-repl"]
:css-dirs ["public/css"]}
But it seems that figwheel is not caring about the :ring-handler
key, even if I put any other namespace/handler into it, it does not fail or anything (even non existent).
If it is useful to know, dev-server
is in src/dev-server/server.js
@diego.vid.eco I’m sorry about that, @yogthos recently submitted a patch that fixes that