npm install
npm run serve
npm run build
npm install -g serve
cd out
serve -p 8080
- If you are using Vue Router in history mode, a simple static file server will fail.
npm run test
npm run lint
npm run build
scp -r .\dist\ <user>@<domain>:/home/<user>
ssh <user>@<domain>
mv dist /var/www/<folder-domain>/vue-project
cd /var/www
sudo chown -R www-data:www-data <folder-domain>/