Replies: 1 comment 7 replies
-
hi! some of the UI in the wger repo is rendered using react, others directly with django. The current setup is that you develop the new react components in the react repo and then build them and copy them over to the static files (wger/core/static/react) in the other one. Depending on whether you want to render a complete page or only a certain div, you'll also need to set some appropriate div-IDs and so. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Guys,
I was building an application extension using React and I am trying to figure out where are these libraries used in the original "https://github.com/wger-project/wger". The is this under under the "https://github.com/wger-project/react" that states "This repository contains the React components for the wger app. Note that this React app is not supposed to be used by itself, but rather as a library that is used in wger."
I am trying to leverage the React app I have already built and wondering how to incorporate them into the "https://github.com/wger-project/wger" section.
I don't see the React src files anywhere under the "https://github.com/wger-project/wger" but it indeed renders the React frontend. If someone could point me in the right direction that would be great!
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions