heroku / heroku-buildpack-nginx

Run NGINX in a Heroku app
247 stars 3 forks source link

How to configure this buildpack and deploy a Vue application? #106

Open andersonar12 opened 2 years ago

andersonar12 commented 2 years ago

greetings, I would appreciate if you add instructions to configure this buildpack and deploy a Vue application since heroku (in Stack heroku-22), asks to use this buildpack with a configuration that are not clear to understand or are not easy.

negatic commented 2 years ago

greetings, I would appreciate if you add instructions to configure this buildpack and deploy a Vue application since heroku (in Stack heroku-22), asks to use this buildpack with a configuration that are not clear to understand or are not easy.

i couldn't get this buildpack to work for my vue app but i used the dokku one and it worked like a charm, make sure to create an empty .static file in your root https://github.com/dokku/heroku-buildpack-nginx

jakesteele commented 1 year ago

Hey,

I used vite to build for production, then used root app/dist (where my files ended up) and used the solo mode NGINX config and it worked perfectly.