An unladen web framework for building APIs and app backends.
Project description
Falcon Vue
Falcon Vue is a plugin for the Falcon Web Framework.
falcon-vue is a plug-in for distributing static files built by vue.js (vue-cli) on falcon.
Description
falcon-vue is a plug-in for distributing static files built by vue.js (vue-cli) on falcon. To use this plugin, you need to install vue-cli and build it to generate a static file.
Install
pip3 install falcon-vue
Usage
import os
import sys
import falcon
from wsgiref import simple_server
from falcon_vue import register_vue_app
app = falcon.API()
app = register_vue_app(
app,
api_url="/dist",
src_path="./test_project/dist"
)
if __name__ == '__main__':
httpd = simple_server.make_server('127.0.0.1', 8000, app)
httpd.serve_forever()
Licence
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
falcon_vue-0.1.4.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file falcon_vue-0.1.4.tar.gz
.
File metadata
- Download URL: falcon_vue-0.1.4.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab89554deba77af7e46a107365ef66e11b484565348df2bafeae9b0ac9f3d25f |
|
MD5 | ad881adce91c22a76c4592d7af77e311 |
|
BLAKE2b-256 | c8a87b861f6b2e533eadfc01ed400257331f470c44d1b64089bcb873228211a6 |
File details
Details for the file falcon_vue-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: falcon_vue-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a53f653f0e0b2f9371c7e07dc4f8cac7461cb585bbe6b09dcd08795ca29171ac |
|
MD5 | c6326ed985cb908338eb2ccbb586ca5d |
|
BLAKE2b-256 | 351d027bd752a746202e67b8ba39f48fa81c99eabec5224f996bc4204303d8f8 |