DEV Community

Discussion on: Continuous deployment of Vue.js app to AWS using Bitbucket Pipelines

Collapse
 
luisjuarros profile image
Luis • Edited

This is a very nice solution that will save you a lot of money, but if your vue app use a backend, there is no way to set up the backend url in a environment variable, you must hardcoded it in the source code. This is the only pain I found using S3 to host js web apps.

Collapse
 
pavanvora profile image
Pavan Vora

Thanks for reply @juarrosluis . I think by using S3 also you can set the environment variables same way as we can set in our vue app by using .env files. Here's the link to the documentation if you want to have a look. If you have any doubt feel free to reply. :)