ysulyma / desmos-react

React wrapper for Desmos
MIT License
9 stars 2 forks source link

[question]Uncaught (in promise) ReferenceError: Desmos is not defined #7

Open dakotaliang opened 10 months ago

dakotaliang commented 10 months ago

I imported desmos-react in jsx file, then run the project, but it has error image image

ysulyma commented 10 months ago

You need to include the Desmos script tag separately

<script src="https://www.desmos.com/api/v1.8/calculator.js?apiKey=dcb31709b452b1cf9dc26972add0fda6"></script>

https://www.desmos.com/api/v1.8/docs/index.html

imvahn commented 1 month ago

This still doesn't fix, even when I add Desmos script tag.