Lifespark-Technologies / Infomed

Web portal that enables communication between hospitals and health authorities
MIT License
1 stars 1 forks source link

CSS not being loaded by the Django server #42

Closed kaashmonee closed 4 years ago

kaashmonee commented 4 years ago

It seems that when running the server with npm start vs. python manage.py runserver, the CSS associated with the header in the version with npm start does not fully load when the Django server serves the page. Not sure why this is.

This is how it looks when served by npm start: image

This is how it looks when served by the Django server: image

A potential solution is described here: https://medium.com/labcodes/configuring-django-with-react-4c599d1eae63.

kaashmonee commented 4 years ago

This also results in the map not being loaded as of #43.

kaashmonee commented 4 years ago

With the new frontend changes to master, it appears that Webpack is broken and is unable to package Boostrap. A bootstrap plugin may be required.