Replies: 1 comment 1 reply
-
I'm happy that you have found Polylith! Yes, having it in a separate directory sounds like a good idea if you decide to have the frontend code in the same monorepo. If it were PyScript, or server-side rendering with Python using python-hiccup, then it would make sense to have the code as components and part of the Polylith code. If it is React/JS/TS then they don't have much to share, but I haven't any experience in mixing multiple languages in a Polylith repo. Maybe I remember it wrong, but I think the Runestone project has some frontend in their repo: https://github.com/RunestoneInteractive/rs |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on my first polylith project. Exciting stuff!
We've got a couple react+vite frontends and we're trying to decide whether or not it is an anti-pattern to add these frontends to our polylith mono repo. This will eventually be an open-source project.
Incorporating the frontends into the monorepo would be convenient from a deployment perspective.
If we were to do so, we would likely put the frontend code into its own directory outside the main polylith directory structure.
We would love some thoughts on this or links to any examples where this has been done! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions