This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-11
Channels
- # beginners (132)
- # boot (2)
- # cider (17)
- # cljs-dev (6)
- # cljsrn (24)
- # clojure (134)
- # clojure-austin (2)
- # clojure-dusseldorf (11)
- # clojure-france (1)
- # clojure-greece (27)
- # clojure-italy (17)
- # clojure-madison (1)
- # clojure-russia (31)
- # clojure-serbia (1)
- # clojure-sg (2)
- # clojure-spec (30)
- # clojure-uk (66)
- # clojurescript (73)
- # core-async (2)
- # cursive (8)
- # data-science (2)
- # datomic (23)
- # dirac (8)
- # emacs (18)
- # gsoc (1)
- # hoplon (36)
- # immutant (26)
- # leiningen (6)
- # off-topic (21)
- # om (19)
- # onyx (6)
- # other-languages (1)
- # pedestal (3)
- # proton (2)
- # random (1)
- # re-frame (1)
- # reagent (2)
- # remote-jobs (2)
- # ring-swagger (8)
- # rum (21)
- # slack-help (1)
- # spacemacs (4)
- # specter (16)
- # untangled (6)
Hello!
I having a hard time with Hoplon and open graph - og meta stuff
I think what FB bot sees is a naken page, without my content, and of course without my og meta tags
probably prerender
boot task should do it... testing...
doesn't work...
Any ideas?
(deftask make-war
"Build a war for deployment"
[]
(comp (hoplon)
(cljs :optimizations :advanced)
(prerender)
(uber :as-jars true)
(web :serve 'app.server/prod-app)
(war)
(target :dir #{"target"})))
@leontalbot you could make an html page a la https://github.com/alandipert/embedded-hoplon-example
so, I’m curious about code organization in hoplon. Do any of the demos demonstrate splitting components into separate namespaces, or even separate artifacts for reuse in other projects?
@cpmcdaniel it’s the same as any other cljs app
i dont think the demo’s really showcase that
sorry, a bit out of my comfort zone on the client side
You can look here: http://github.com/degree9/ClojureRemote-Chat
this is generally how I organize things
I remember @micha giving a talk and talking about making reusable components with hoplon (maybe more specifically javelin)
yeah if you are looking for that then maybe this: http://github.com/degree9/material-hl
im working on updating that, it’s not stable atm
is that using node?
just css
and hl components
I mean the ClojureRemote-Chat
oh yeah
are all the .cljs files backend?
and client side also
the server is really minimal
so is the client
ok, this is a good starting point, thanks
if you want a better idea of how that all works check this out: http://github.com/degree9/meta
it’s also not stable but will be shortly
cool stuff
doesn’t use castra, correct?
correct
node.js backend instead of java
@alandipert Thanks! It is good plan B
Was wondering how to make prerender work??
any clues?