Question
Do I need Node to deploy Laravel Vue SPA
I have just deployed my SPA to a server. I used laravel with vue frontend scaffolding. Now the app is online and if I go to the domain I see it (but it’s not working correctly). However, I did not run npm run production
before I deployed to the server.
Should I have run npm run production
before I deployed?
Is it too late to do it now?
Should I do it on the server or should I do it only local device and then push?
Is npm run production
even necessary for a a laravel app with vue frontend?
I currently do not have node on the server. The server is setup as a LEMP stack (Linux, Nginx, MySQL, PHP 7.3).
Thanks in advance.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×