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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file python_vuejs-0.0.4.tar.gz.

File metadata

  • Download URL: python_vuejs-0.0.4.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python_vuejs-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b223a69145e8d0cb902e5b811c5825eb002995cafd7aa09f31cbf1826fb8f2c5
MD5 fa387dd13771c8ed486a1f5c0697d3db
BLAKE2b-256 9c39b962368bf33fee6ce7744ddacc94e39093a581ed59c65f1aaccac4139a93

See more details on using hashes here.

File details

Details for the file python_vuejs-0.0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for python_vuejs-0.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 34cd8a6ef6a417fa819cec9244e3a714a4938769ecdfd1d9074d3e5fa815ac9d
MD5 e91185a68ae6ee4a8a56f88360496e55
BLAKE2b-256 2ba55609765b95e763a268eaffe5ee6ad0a8c0daa8b38bd75c7bab08321099a3

See more details on using hashes here.

Supported by

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