Skip to content

Simple boilerplate to start application with PyWebView and Vue 3

Notifications You must be signed in to change notification settings

Hyuto/pywebview-vue

Repository files navigation

Pywebview-Vue Template

python pywebview Vue

Simple Pywebview application using Vue 3 for the frontend with parcel bundler.

Supported Platforms

Platforms Tested
Windows
Linux [Debian based]

Setup

Clone this repo and run this commands on your terminal

yarn run init

that will install all dependencies to run the app.

Note : Please refer to installation guide and make sure all dependencies are set to run pywebview application.

Start the Application

On your terminal run this command

yarn start

Note : This template don't support hot reload to apply changes on your frontend code you need to right click and refresh

Build the Application

Build the application using this command

yarn build

This will build the application to production on publish directory.

Note : Please make sure to set

DEBUG = FALSE

in main.py before deploying the app for production.

Vue

Serve

Run this command to start development server vue (frontend) application only.

yarn vue-serve

Build

Run this command to build vue (frontend) application only.

yarn vue-build

This will build the vue application to production on dist directory.

Lint

Run this command to lint your vue code.

yarn vue-lint

Install Additional Python Dependencies

Run this command install additional python dependencies.

yarn install-dep <dependency_1> <dependency_2>

That command will call pip inside pywebview venv to install python .

About

Simple boilerplate to start application with PyWebView and Vue 3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published