cherry

2024-08-11T18:25:55.431459Z

I'm so pleased with Cherry @borkdude! So great for writing WebComponents. For a simple few pages long landing pages, ShadowCLJS is an overkill, Cherry has precisely what I need. Thank you for all your great work 🙏

💯 1
martinklepsch 2024-08-11T19:18:23.274509Z

Curious what you used to build your Js bundles?

2024-08-29T16:14:22.385969Z

Hey @martinklepsch. I'm going to make my site public soon, it's very simple, just a few landing pages, but I think even like that it can be useful. It's so simple I don't really use any bundle, I just minify JS & CSS by a simple fn and include them directly. I don't use any libraries, only built-in JS fns, so it's all very compact. I have a custom build system to deal with CSS minimisation, JS compilation & minimisation, including required svgs from font-awesome and building the HTML files which I have in EDN files with :title, :path and :content in hiccup. All of it is really basic, nothing fancy, that's the beauty of it. WebPack was too elaborate for my taste.

👀 1
2024-08-11T18:26:57.040279Z

By the way can Cherry be used from JVM Clojure / from Babashka? Or only from NPM? Just asking, don't really use NPM for that project, but I do have CLJ code.

borkdude 2024-08-11T18:29:38.584579Z

@jakub.stastny.pt_serv Great to hear. #squint at least can be used from the JVM, cherry theoretically too, but I haven't tested lately

2024-08-11T18:30:33.639819Z

Alright, good to know, I will try. Is there any code that shows the setup with #squint? If not, no pressure, just asking.

borkdude 2024-08-11T18:31:31.679889Z

here's a squint example: https://github.com/squint-cljs/squint/blob/main/examples/babashka/index.clj