polylith

mjhika 2025-03-13T02:25:28.346959Z

has anyone added a non cljs front end to a clj polylith project?

mjhika 2025-03-13T02:30:52.772829Z

i'm thinking of a project with a backend base and a frontend base since the app my colleague and i intend to write won't leverage cljs for the frontend, but i'm not sure if that would be a good idea

seancorfield 2025-03-13T03:46:33.942439Z

What makes you concerned?

mjhika 2025-03-15T02:55:30.773399Z

I guess my concern is from a "full-stack" perspective, if my backend is controlled in a polylith monorepo, I was wanting to add the frontend to the monorep and let my colleague use what he wanted (something like vue). but after chewing on the docs some more I think I'm misapplying polylith's design since it does say it's a monorepo for the backend

seancorfield 2025-03-15T03:09:47.782429Z

There's ongoing work to be able to have ClojureScript fully-supported in the Polylith repo (as well as Clojure), but there's no inherent reason why you couldn't have a frontend base (for code) and project (for build), even if you don't get tooling support.

mjhika 2025-03-15T03:27:55.777819Z

okay maybe i'm seeing how described that way. so like all source html/css/whatever in a base and build/packaging steps in a project so a tool calls something like --input ../../bases/frontend to pull in the source materials for that build process. i guess just following the methodology or mindset as best as possible with whatever the frontend language is