browserify -t vueify -t envify -e ./frontend/js/main.js -o ./frontend/js/bundle.js
To develop the frontend watchify can be used and allows specifying an API_ENDPOINT to let the frontend work against a deployed server:
API_ENDPOINT=https://api.domain.com watchify -t vueify -t envify -e ./frontend/js/main.js -o ./frontend/js/bundle.js