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.
- Python 2.7+ or 3.4+
- nodejs > 5 and npm > 3
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 |
All you need is to run djstartvueapp
into your django project directory:
(env) $ djstartvueapp myapp ... Enjoy!
See the :ref:`django_quickstart`.
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 |
- TODO
Command | Description |
---|---|
WIP | WIP |
- Vue.js starter via vue-cli
- Integration with django via
djstartvueapp
- Supporting flask, eg https://github.com/taogeT/flask-vue (without js inside package)
- Supporting other frameworks
- Some tests
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.