I have deployed a Laravel project on Heroku that uses Vue components, but the content of these components doesn't appear on the app's webpages. Only contents of .blade.php files are being rendered.
So, how do I deploy a Laravel and Vue project properly with Heroku?
My app's Procfile:
web: vendor/bin/heroku-php-apache2 public/
I tried adding some extra commands to the dyno such as web: npm run watch & vendor/bin/heroku-php-apache2 public/ and web: npm install vendor/bin/heroku-php-apache2 public/ but I had no luck.
And no, my app runs perfectly fine localy with npm run watch and php artisan serve commands, there's nothing wrong with it.