Gluing Python and Vue.js with a set of scripts in order to automate project and app builds
Project description
Gluing Python and Vue.js with a set of scripts that automate the dev and build process.
Projects aims to be agnostic, just use it in order to automate the boring stuff to setup a Vue.js project.
The point is: you start with SPA app inside your current project and then, extract it without having the dependency with backend framework.
Feel free to contribute with PRs and opening issues.
Thanks! Cheers! 🍻
Free software: MIT license
Documentation: https://pythonhosted.org/python_vuejs.
Requirements
Python 2.7+ or 3.4+
nodejs > 5 and npm > 3
Commands reference
Vue.js
Command |
Description |
---|---|
checkenv |
Check if node > 5 and npm > 3 are installed |
vuecli |
Install vue-cli |
startvueapp |
Init Vue.js project via vue-cli |
vuedev |
Start frontend dev server |
vuebuild |
Build Vue.js project via npm |
Django
All you need is to run djstartvueapp into your django project directory:
(env) $ djstartvueapp myapp ... Enjoy!
List of commands avaiable:
Command |
Description |
---|---|
djvue |
Make Vue.js project into a django app |
djbuild |
Inject into the django way into index.html |
djstartvueapp |
Create Vue.js django app |
Flask
TODO
Command |
Description |
---|---|
WIP |
WIP |
Features
Vue.js starter via vue-cli
Basic integration with django
TODO
django one command step, eg djvuestartapp
Supporting flask, eg https://github.com/taogeT/flask-vue (without js inside package)
Supporting other frameworks
Some tests
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
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
Built Distribution
Hashes for python_vuejs-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34cd8a6ef6a417fa819cec9244e3a714a4938769ecdfd1d9074d3e5fa815ac9d |
|
MD5 | e91185a68ae6ee4a8a56f88360496e55 |
|
BLAKE2b-256 | 2ba55609765b95e763a268eaffe5ee6ad0a8c0daa8b38bd75c7bab08321099a3 |