Gluing Python and Vue.js with a set of scripts in order to automate project and app builds
Project description
=============================
Python and Vue.js gule
=============================
.. image:: https://img.shields.io/pypi/v/python_vuejs.svg
:target: https://pypi.python.org/pypi/python_vuejs
.. image:: https://pyup.io/repos/github/cstrap/python-vuejs/shield.svg
:target: https://pyup.io/repos/github/cstrap/python-vuejs/
:alt: Updates
.. image:: https://pyup.io/repos/github/cstrap/python-vuejs/python-3-shield.svg
:target: https://pyup.io/repos/github/cstrap/python-vuejs/
:alt: Python 3
.. image:: https://img.shields.io/pypi/l/python_vuejs.svg
:target: https://pypi.python.org/pypi/python_vuejs
.. image:: https://img.shields.io/pypi/pyversions/python_vuejs.svg
:target: https://pypi.python.org/pypi/python_vuejs
.. image:: https://img.shields.io/pypi/status/python_vuejs.svg
:target: https://pypi.python.org/pypi/python_vuejs
Gluing Python and `Vue.js <https://vuejs.org/>`_ 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!
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 |
+-------------------+------------------------------------------------+
Flask
-----
* TODO
+---------+----------------------------------------------+
| Command | Description |
+=========+==============================================+
| WIP | WIP |
+---------+----------------------------------------------+
--------
Features
--------
* Vue.js starter via vue-cli
* Integration with django via ``djstartvueapp``
TODO
----
* 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.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
Python and Vue.js gule
=============================
.. image:: https://img.shields.io/pypi/v/python_vuejs.svg
:target: https://pypi.python.org/pypi/python_vuejs
.. image:: https://pyup.io/repos/github/cstrap/python-vuejs/shield.svg
:target: https://pyup.io/repos/github/cstrap/python-vuejs/
:alt: Updates
.. image:: https://pyup.io/repos/github/cstrap/python-vuejs/python-3-shield.svg
:target: https://pyup.io/repos/github/cstrap/python-vuejs/
:alt: Python 3
.. image:: https://img.shields.io/pypi/l/python_vuejs.svg
:target: https://pypi.python.org/pypi/python_vuejs
.. image:: https://img.shields.io/pypi/pyversions/python_vuejs.svg
:target: https://pypi.python.org/pypi/python_vuejs
.. image:: https://img.shields.io/pypi/status/python_vuejs.svg
:target: https://pypi.python.org/pypi/python_vuejs
Gluing Python and `Vue.js <https://vuejs.org/>`_ 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!
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 |
+-------------------+------------------------------------------------+
Flask
-----
* TODO
+---------+----------------------------------------------+
| Command | Description |
+=========+==============================================+
| WIP | WIP |
+---------+----------------------------------------------+
--------
Features
--------
* Vue.js starter via vue-cli
* Integration with django via ``djstartvueapp``
TODO
----
* 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.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
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
python_vuejs-0.0.5.tar.gz
(20.0 kB
view hashes)
Built Distribution
Close
Hashes for python_vuejs-0.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd31be10f93a4f9050385eff7ead205a471872916963a377495dc9cedaa3ebb6 |
|
MD5 | 2960bdf9ee9dd54a375b810b3fa9be29 |
|
BLAKE2b-256 | 94dcbf2c110539c067a55d4b55ec050626b350d88fd530220d400338459da4bb |