This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-31
Channels
- # arachne (4)
- # beginners (21)
- # boot (36)
- # cider (59)
- # cljsrn (8)
- # clojure (260)
- # clojure-filipino (3)
- # clojure-greece (3)
- # clojure-italy (15)
- # clojure-russia (58)
- # clojure-spec (54)
- # clojure-uk (99)
- # clojureremote (5)
- # clojurescript (65)
- # core-matrix (1)
- # cursive (17)
- # data-science (9)
- # datascript (7)
- # datomic (33)
- # emacs (8)
- # hoplon (2)
- # jobs (1)
- # jobs-discuss (2)
- # lein-figwheel (2)
- # lumo (2)
- # numerical-computing (1)
- # off-topic (22)
- # om (78)
- # onyx (17)
- # parinfer (3)
- # pedestal (5)
- # perun (1)
- # powderkeg (19)
- # protorepl (37)
- # re-frame (3)
- # rum (2)
- # spacemacs (1)
- # uncomplicate (8)
- # unrepl (78)
- # untangled (29)
- # yada (41)
@qqq you don't need to. Boot-cljs has a cljs-repl-env task. You can also use the cljs-repl as a normal repl.
@qqq if you're using a recent version of CIDER, if you use jack-in, it'll add them via magic afaik.
many people are
what do you mean exactly?
it's pretty dumb: I have this SPA with client side routing, but if I refresh localhost/my/page
it'll 404
I've tried hacking my handler but now it's starting to break with some ring errors, I'm doing cljs only
so if you happen to have a correct handler for that, that'd spare me (re)learning about ring and the boot env just for this use case
ah I understand
not sure if boot-http can do that
what I do is to use bidi to have a route that serves /app/*
as index.html
but I agree it's a bit complicated for this simple use cae
Does it works with boot refresh and all the fancy tools that (I guess) inject code in the html?
yes I don't see why not
just like boot-http it just serves the resource
["admin" :admin]
["admin/" [["" :admin] [true :admin]]]
this is the pattern I use to catch everything starting with /admin
in bidi
Doubt regarding boot codebase: how do I access the environment map? ( I want to get the :source-paths to fix an issue )
@hit023 get-env
should work
You need to install Maven it seems @hit023
@qqq yes cider addition used to be manually but now cider does it for you
It just builds the command line command for you, you can see which one at the bottom or in the message buffer and if something does not work as expected try to copy that and execute it in a terminal
@richiardiandrea : that doens't work for me as Emacs = local laptop; boot = runs on remote server