I assume you are using mix, so uploading the compiled assets from your public/ folder should be enough (js and css, and anything additional you might have)
Feb 11, 2022
1
Level 1
Deploying vue/JS files to remote server
Hey, I am unfamiliar with deploying JS to my production server. Usually when I make a release I do so by replacing existing files on the server, scp | file | location. That is what I have been doing with my backend, blade, php files.
Since js is a little bit different, do I have to npm run anything or something on my server to make changes work when I replace my vue file that I have updated? Since I do 'npm run dev' to have changes appear in my dev enviroment. Replace main.js inside my public folder on the server perhaps?
Please or to participate in this conversation.