This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-15
Channels
- # aleph (2)
- # babashka (35)
- # beginners (31)
- # biff (6)
- # calva (6)
- # cider (5)
- # clojure (61)
- # clojure-android (1)
- # clojure-dev (12)
- # clojure-europe (22)
- # clojure-norway (7)
- # clojure-uk (4)
- # clojurescript (19)
- # datomic (5)
- # events (3)
- # fulcro (15)
- # graalvm (41)
- # guix (2)
- # honeysql (2)
- # hoplon (8)
- # hyperfiddle (10)
- # jobs (1)
- # off-topic (29)
- # overtone (5)
- # podcasts-discuss (1)
- # remote-jobs (1)
- # sci (30)
- # shadow-cljs (186)
- # specter (2)
- # squint (22)
You can now share a squint snippet via the index.html page ;) https://squint-cljs.github.io/squint/?foo=1&src=KGRlZm4gYXBwZW5kIFtzdHJdCiAgKGpzL2RvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQKICAgIChkb3RvIChqcy9kb2N1bWVudC5jcmVhdGVFbGVtZW50ICJkaXYiKQogICAgICAoc2V0ISAtaW5uZXJUZXh0IHN0cikpKSkKCihkZWYgcXVlcnktcGFyYW1zCiAgKC0%2BPiBqcy93aW5kb3cKICAgIC4tbG9jYXRpb24KICAgIC4tc2VhcmNoCiAgICBqcy9VUkxTZWFyY2hQYXJhbXMuCiAgICAoaW50byB7fSkpKQoKKGFwcGVuZCAocHItc3RyIHF1ZXJ5LXBhcmFtcykp
Hi. I have a server implemented in Clojure. I want to serve squint-compiled code to the browser. The README suggests I have to include in my HTML. But since I already have included
io.github.squint-cljs/squint {:tag "v0.4.44" :sha "157720a"}
in my deps.edn
- can I load this somehow with (
and serve it concatinated with my sqint-compiled code?
What do you mean by "load it"? I slurp it and concatenate it to my JavaScript for the browser.
you can check the squint repo for index.html, I'm also using the squint module from npm in there
the result can be seen here: https://squint-cljs.github.io/squint/
@U2ERGD6UD Did you get it working?