React Demo not working
Eel version Latest
Describe the bug A clear and concise description of what the bug is.
PS C:\Users\maste\Documents\GitHub\r2-t2> python .\eel.py
Traceback (most recent call last):
File "C:\Users\maste\Documents\GitHub\r2-t2\eel.py", line 8, in
To Reproduce Steps to reproduce the behavior:
-
pip install eel - Download
https://github.com/ChrisKnott/Eel/blob/master/examples/07%20-%20CreateReactApp/eel_CRA.py - Run it (optionally have React files)
- See error
Expected behavior It should work
Desktop (please complete the following information):
- OS: Windows 10
- Python 3.10
Additional context Add any other context about the problem here.
Hi @elibroftw! i've fixed it by including:
<!-- Load eel.js from the port specified in the eel.start options -->
<script type="text/javascript" src="http://localhost:<your_python_host_port>/eel.js"></script>
in head of your public/index.html file.
Hope it helps!