This is an example of EEL app that uses react for UI and vite for build.
Clone (or fork and clone) this repo and change dir.
git clone https://github.com/rahulsrma26/eel-react-app.git
cd eel-react-app
Install packages using yarn or npm.
npm install
Create environment and install requirements for python.
conda create -n appenv python=3.9 pip
conda activate appenv
pip install -r requirements.txt
To run the example in dev environment first run front end.
npm run dev
Then run backend in a separate terminal.
python main.py --dev
To build and executable first build static files.
npm run build
Then build using pyinstaller.
python -m eel main.py dist --onefile --noconsole --name eel-react-app