For install the package run:
$ pip install flask-vuejs
Import the Vue class in bootstrap flask file, see:
from flask_vuejs import Vue
Vue(app)
vue = Vue()
def create_app():
app = Flask(__name__)
vue.init_app(app)
You can set the component directory, by default it uses 'static/components' folder, but, it can be easily changed.
def create_app():
app.config["FLASK_VUE_COMPONENT_DIRECTORY"] = "vuecomponent"
Remember, if you changed component directory, you'll should be rename this directory on 'static' folder application
You can see how its works here