flask-webpack-vue-sample
flask-webpack-vue-sample copied to clipboard
a example of using flask-webpack with vuejs and hot module replacement.
flask-webpack-vue-sample
a example of using flask-webpack with vuejs and hot module replacement.
Usage
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