DEV Community

Discussion on: Flask Vue.js Integration Tutorial

Collapse
 
ipv6_python profile image
Gregory Wendel • Edited

Michael,
Thanks for the great tutorial. I followed your instructions and here are a few notes.
When using the versions below:
Centos 7
node --version
v12.14.1
npm -version
6.13.4
Below are some things I did to get this working
1 - Install postgres and postgres dev before running pip install -r requirements.txt
sudo yum install postgresql-server postgresql-contrib
2 - near the end of your instructions in vue.config.js I removed the line, " baseUrl: '', "
I had the following error before removing the line:
ERROR Invalid options in vue.config.js: "baseUrl" is not allowed

Thanks,
Greg

Collapse
 
michaelbukachi profile image
Michael Bukachi

Hello, thanks for the info. Let me update the tutorial.