Heroku deployment of Vue.js & PHP & SQlite app

Deployment on Heroku may be a bit tricky, because our app needs to have two environments now.

  1. Node.js environment to build your application.
  2. PHP environment to run the REST API.

But we should be able to succeed :-)

  1. Go to your apps on Heroku

  2. Add an application with a chosen name, e.g. meetings-vue-slim-YOURLASTNAME and connect it to your Github's repository.

  3. Go to the application settings and enable both heroku/php and heroku/nodejs buildpacks.

  4. Deploy the app in the app dashboard.

And see mine instance :-)