Skip to content

tongji-cdi/pywebview-vue-boilerplate

 
 

Repository files navigation

pywebview-vue-boilerplate

based on pywebview-react-boilerplate

This is a simple boilerplate to help you start with pywebview and React. It sets up the development environment, install dependencies, as well as provides scripts for building an executable. Stack is based on pywebview, React, SASS, Parcel bundler, pyinstaller (Windows/Linux) and py2app (macOS).

Requirements

  • Python 3
  • Node
  • virtualenv

Installation

npm run init

This will create a virtual environment, install pip and Node dependencies. Alternatively you can perform these steps manually.

npm install
pip install -r requirements.txt

On Linux systems installation system makes educated guesses. If you run KDE, QT dependencies are installed, otherwise GTK is chosen. apt is used for installing GTK dependencies. In case you are running a non apt-based system, you will have to install GTK dependencies manually. See installation for details.

Usage

To launch the application.

npm run start

To build an executable. The output binary will be produced in the dist directory.

npm run build

To start a development server (only for testing frontend code).

npm run dev

Bug reporting

Please report pywebview related bugs directly to pywebview's repository. This repository is only for the issues related to this boilerplate.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.0%
  • HTML 8.2%
  • Vue 8.1%
  • JavaScript 2.7%