flask-react-simple

A flask plugin to generate flask layout with react(Webpack config).


Keywords
flask, react
License
Other
Install
pip install flask-react-simple==0.2.0

Documentation

Create Flask React App

Introduction

cra <project_name> Generate a standard flask app with react(Webpack).

Fetures on the way

  1. from flask_reactjs import React - more powerful server rendering
  2. code splitting

development

on Windows:

set FLASK_APP=create_flask_react_app.app:create_app('dev')

set FLASK_DEBUG=1

flask run

on Unix:

Use export instead of set.

Contributors

aweffr@foxmail.com