Create a Flask+Vue.js app in seconds.
Project description
[![Build Status](https://travis-ci.org/treebee/flask-vue-scaffold.svg?branch=master)](https://travis-ci.org/treebee/flask-vue-scaffold)
# flask-vue-scaffold
Create a new [Flask](https://github.com/pallets/flask) project with a [Vue.js](https://github.com/vuejs/vue) 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](https://github.com/vuejs/vue-cli) with webpack.
In development mode two services are started with the help of [honcho](https://github.com/nickstenning/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
# flask-vue-scaffold
Create a new [Flask](https://github.com/pallets/flask) project with a [Vue.js](https://github.com/vuejs/vue) 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](https://github.com/vuejs/vue-cli) with webpack.
In development mode two services are started with the help of [honcho](https://github.com/nickstenning/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
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
Flask-Vue-Scaffold-0.1.1.tar.gz
(126.3 kB
view details)
Built Distribution
File details
Details for the file Flask-Vue-Scaffold-0.1.1.tar.gz
.
File metadata
- Download URL: Flask-Vue-Scaffold-0.1.1.tar.gz
- Upload date:
- Size: 126.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78d8041c4456fac63ab1fb358cb16045bf05dcd8f0d56261e371e45ca879a39c |
|
MD5 | 513f4e22791b9780aceeec21301ebe3f |
|
BLAKE2b-256 | c97fa1760277952fe037dbbbf072959b85474a47a37f7b02efa1598a85370303 |
File details
Details for the file Flask_Vue_Scaffold-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: Flask_Vue_Scaffold-0.1.1-py3-none-any.whl
- Upload date:
- Size: 133.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7838f24e683e8fbff0ec9c8734bb362b81dc0c125be0d9cf0cfda66a65d1deb |
|
MD5 | f3890210d098304136789b288e359996 |
|
BLAKE2b-256 | 3a216a85ab68071870e1fd7492ae703101455e82196d283674065d4796278c79 |