Skip to content

To deploy this on Heroku #225

Answered by spinn
wahajsaleem asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @wahajsaleem,

not sure how you are deploying your app to Heroku, but I just tried using Heroku Git and had no issues:

First install Heroku CLI and then:

$ git clone https://github.com/ditdot-dev/vue-flow-form.git
$ cd vue-flow-form
$ git checkout test/heroku
$ npm install
$ npm run build
$ heroku login # if you haven't logged in yet
$ heroku buildpacks:add heroku/nodejs --app <app_name>
$ heroku buildpacks:add https://github.com/heroku/heroku-buildpack-static --app <app_name>
$ heroku git:remote -a <app_name>
$ git push heroku test/heroku:main

<app_name>.herokuapp.com should now be working.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by EkaterinaVu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants