gis-ops / valhalla-app

This is the demo web app running on https://valhalla.openstreetmap.de
https://valhalla.openstreetmap.de
MIT License
164 stars 90 forks source link

jQuery is not defined #181

Open sammaji opened 1 year ago

sammaji commented 1 year ago

Description

What is the problem you are facing

I am getting an error "ReferenceError: jQuery is not defined" while migrating to vite

As far as I can remember, it worked fine with react-scripts.

I have tried installing jQuery using yarn and using the cdn. Both did not work.

Screenshots

Screenshot 2023-04-10 150549
nilsnolde commented 1 year ago

Would be much preferred to get rid of jQuery completely, but not sure how to work the with the height graph plugin otherwise.

If we can't, then right, it'll need to find its way to vite.

BTW, related to #175 , not relevant for master.