treebee / flask-vue-scaffold

Create a Flask+Vue.js app in seconds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

flask-vue-scaffold

Create a new Flask project with a Vue.js frontend without pain.

About

flask-vue-scaffold helps with setting up a new project which uses Flask for the backend and Vue.js for the frontend. No need to spend hours getting webpack and Flask to work together for development and production. As a base it uses vue-cli with webpack. In development mode two services are started with the help of honcho, the Flask server and a webpack-devserver.

Requirements

  • Python3.6
  • Node

Usage

pip install flask-vue-scaffold
flask_vue init --name my-awesome-project [--dest /path/to/workspace]

cd /path/to/workspace/my-awesome-project
pip install -e .
yarn
my_awesome_project devserver

Start editing the backend in the my_awesome_project directory, frontend in src.

License

Apache License 2.0

TODO

  • add more tests
  • add example python tests to the created project
  • merge build and config folder (webpack config stuff) into config folder

About

Create a Flask+Vue.js app in seconds

License:Apache License 2.0


Languages

Language:JavaScript 65.7%Language:Smarty 20.3%Language:Python 9.4%Language:Vue 3.4%Language:Shell 1.2%