For MacOS and Linux using “scp” — secure copy

I was always wasting time by first running “npm run build” and then open my SFTP progam to copy the vue.js “dist” folder to my server and then would be able to run it, till I spent time to find a shortcut.

Hint: Use the “scp” command on Mac and Linux

Complete package.json code is below:

Code away…

nsvirk

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store