a example of using flask-webpack with vuejs and hot module replacement.
for frontend (vuejs)
$ yarn
$ yarn run start
or ..
$ npm install
$ npm run start
for backend (flask app)
$ cd flask
$ virtualenv venv
$ source ./venv/bin/activate
$ pip install flask flask-webpack
$ python app.py