vue app depoy too heroku code example
Example 1: run vue project by npm
npm run serve
Example 2: deploy vuejs heroku
$ heroku create <YOUR-PROJECT-NAME-HERE>
$ heroku config:set NODE_ENV=production --app <YOUR-PROJECT-NAME-HERE>
$ yarn build # or npm run build
$ git status
$ git add && git commit -m 'Deploy to heroku'
$ git push origin master
$ git push heroku master