This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-08
Channels
- # announcements (2)
- # babashka (100)
- # beginners (25)
- # biff (7)
- # calva (13)
- # cider (24)
- # clj-kondo (39)
- # cljsrn (2)
- # clojure (22)
- # clojure-dev (13)
- # clojure-europe (12)
- # clojure-gamedev (3)
- # clojure-losangeles (2)
- # clojure-nl (1)
- # clojure-norway (3)
- # clojure-spec (11)
- # clojure-uk (2)
- # clojurescript (20)
- # core-async (8)
- # cursive (7)
- # data-science (2)
- # datomic (14)
- # emacs (6)
- # events (7)
- # fulcro (9)
- # honeysql (1)
- # kaocha (24)
- # lambdaisland (3)
- # leiningen (6)
- # lsp (30)
- # membrane (7)
- # missionary (10)
- # nbb (48)
- # nextjournal (13)
- # off-topic (6)
- # parinfer (4)
- # pathom (1)
- # polylith (1)
- # reagent (7)
- # rewrite-clj (6)
- # ring (11)
- # sci (7)
- # shadow-cljs (8)
- # sql (13)
Hey is there anyway I can package clojure-mode as a JS library to use inside a web project
@bardia.95.pourvakil Hey! I think you can. Why not?
What are the steps to do so?
I've done that myself here as well, with shadow-cljs: https://github.com/borkdude/blog/blob/main/shadow-cljs.edn
Any resources I can check out
here is some (currently unused) .cljs: https://github.com/borkdude/blog/blob/main/src/clojure_highlighter/main.cljs
I guess this demo project is also something you can look at (even more so): https://github.com/nextjournal/clojure-mode/tree/main/demo
Maybe @andrea712 can also give some advice since he worked on this very recently
Thank you!
And doing this shadow cljs build will allow me to use this library inside a JS project?
@bardia.95.pourvakil my last interaction with your employer went pretty poorly so I'm not willing to put in the time to figure this out for them. And please stop spamming me with the same question on different channels.
👍 sorry!