I am having problems deploying my laravel + vuejs application to shared hosting account, I am aware of other efficient ways such as cloudways but I just want to test my site out.
I have tried with some free hosting but always wrong, do I need to upload all my node_modules through ftp for the vue components to work? it is large and takes plenty of time.
I have checked alot of tutorials on this but none has deployed laravel with vuejs to server, any guide to to this will be much appreciated.
composer app:packageto build the dist.tar.gz to upload. Extract this file on the shared hosting and upload your.envfile. Or you can use laravel-installer and something like: github.com/niiknow/anx-api-proxy#production-deploymentcomposer app:packageis actually building both npm (vuejs) and laravel. It is a series of commands form line 67 to 71: github.com/niiknow/anx-api-proxy/blob/master/composer.json#L67