Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local Widgets Rendering, Proof of concept #1

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Local Widgets Rendering, Proof of concept #1

wants to merge 3 commits into from

Conversation

yamijuan
Copy link
Member

@yamijuan yamijuan commented Jul 7, 2021

  1. Cloned Wikidata query gui repo
  2. installed inside the static folder to be able to serve it to the frontend
  3. Created a special template where the widgets assets are loaded (these ones should be bundled)
  4. Put there the script to load the queery information inside the div element
  5. Created template to render each widget ( the script should be put there so it will run for each widget)
  6. used template inside the main page templates (clinical trials in this example)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant