This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-03
Channels
- # babashka (17)
- # beginners (166)
- # calva (97)
- # cider (4)
- # clara (2)
- # clj-kondo (46)
- # cljsrn (5)
- # clojure (334)
- # clojure-canada (1)
- # clojure-dev (144)
- # clojure-europe (14)
- # clojure-germany (5)
- # clojure-nl (10)
- # clojure-spec (1)
- # clojure-uk (46)
- # clojurescript (50)
- # conjure (1)
- # core-async (52)
- # core-typed (5)
- # cursive (3)
- # datomic (3)
- # emacs (11)
- # figwheel (16)
- # figwheel-main (9)
- # fulcro (29)
- # graalvm (19)
- # graphql (14)
- # helix (46)
- # hoplon (4)
- # hugsql (2)
- # jobs (2)
- # jobs-discuss (1)
- # juxt (15)
- # kaocha (6)
- # off-topic (9)
- # pedestal (7)
- # portkey (7)
- # re-frame (10)
- # reagent (29)
- # shadow-cljs (13)
- # spacemacs (70)
- # sql (13)
- # tools-deps (26)
- # xtdb (23)
Question about using a https://figwheel.org/docs/your_own_server.html with figwheel. I have a monorepo structure like this:
├── app
│ ├── deps.edn
│ ├── dev.cljs.edn
│ ├── resources
│ ├── src
│ └── target
├── app-server
│ ├── deps.edn
│ ├── resources
│ └── src
The app-server
package is a simple backend server which will be used in production to server static files (html, css, js etc) in addition to some custom routes and the app
package is the front end itself.What is the recommended approach to serving the static files like the index.html
from the custom server?
For more info, the app-server
would run at localhost:3000
and then figwheel server could continue to run at localhost:9500