Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 1.3 KB

README.md

File metadata and controls

65 lines (43 loc) · 1.3 KB

Pywebview with Vite React

This is a simple boilerplate to help you start with pywebview, Vite, and React. Stack is based on pywebview, React, Vite bundler, pyinstaller (Windows/Linux) and py2app (macOS).

Requirements

  • Python 3
  • Node

Tutorials

Initialization

Mac OS

npm run init
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Windows

npm run init
python -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txt

Linux

Run in dev mode

Only the frontend

npm run dev

Build the frontend and run the backend in dev mode

npm run start

Build

npm run build

License

This project is licensed under the BSD 3-Clause License. See the LICENSE file for more details.

Third-Party Code

This project includes code from a project by Roman, used under the BSD 3-Clause License. See the LICENSE-Roman file for more details.