Skip to main content

Gluing Python and Vue.js with a set of scripts in order to automate project and app builds

Project description

https://img.shields.io/pypi/v/python_vuejs.svg Updates Python 3 https://img.shields.io/pypi/l/python_vuejs.svg https://img.shields.io/pypi/pyversions/python_vuejs.svg https://img.shields.io/pypi/status/python_vuejs.svg

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! 🍻

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

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Project details


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.4.tar.gz (19.6 kB view hashes)

Uploaded Source

Built Distribution

python_vuejs-0.0.4-py2.py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page