A minimal React setup with Flask and Webpack.
git clone [email protected]:seanbehan/flask_react_starter.git
cd flask_react_starter
pip install -r requirements.txt
npm install
Transpile with Webpack and start the Flask application.
webpack --watch
python app.py
Visit
These articles helped a lot
- https://www.twilio.com/blog/2015/08/setting-up-react-for-es6-with-webpack-and-babel-2.html
- https://medium.com/@dabit3/beginner-s-guide-to-webpack-b1f1a3638460
See
For Ruby Version