Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Vue.js 1.0+ integration for Flask (Python 3 version)

Project Description

Flask-Vue packages Vue.js and many extended scripts into an extension.

It can also create links to serve Vue from a CDN and works with no boilerplate code in your application.

Contain Scripts

Scripts List

vue 1.0.28
vue-async-data 1.0.2
vue-form 0.3.1
vue-i18n 4.6.0
vue-resource 1.0.3
vue-router 0.7.13
vue-validator 2.1.7
vue-table 1.5.3
vuex 2.0.0
vue-strap 1.1.29

Usage

Here is an example on init Vue:

from flask_vue import Vue

[...]

Vue(app)

or

vue = Vue()
vue.init_app(app)

Configuration

There are configuration options used by Flask-Vue.

Option Default  
VUE_USE_MINIFIED True Whether or not to use the minified scripts.
VUE_SERVE_LOCAL False If True, scripts will be served from the local instance.
VUE_LOCAL_SUBDOMAIN None Passes a subdomain parameter to the generated Blueprint. Useful when serving assets locally from a different subdomain.
VUE_CDN_FORCE_SSL False If a CDN resource url starts with //, prepend ‘https:’ to it.
VUE_CONFIGURATION flask_vue.config Individualized setting about each script. It supports to config CDN scripts which do not have local instance.
Release History

Release History

This version
History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.1

History Node

0.3.0

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Flask-Vue-0.3.5.tar.gz (262.8 kB) Copy SHA256 Checksum SHA256 Source Jan 29, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting