Skip to the content.

Documentation

vue.py provides bindings for Vue.js. If you are not familiar with Vue.js read the Vue.js Guide and then get back here to learn how to use Vue.js with pure Python.

Installation

Install vue.py via pip

$ pip install vuepy

First Application

Create a folder for your app

$ mkdir app
$ cd app

and as last step create a app.py where you create your Vue Component

from vue import *

class App(VueComponent):
    template = "<div>Hello vue.py</div>"
App("#app")

deploy your app

$ vue-cli deploy live

Now goto http://localhost:5000 and see your first vue.py app.

How to use Vue.js concepts

Management

Python/Javascript Bridge

here