See CLI Service command docs.

Available by installing @vue/cli-service. But I think installing vue is sufficient.

Run it as an NPM script.

Or as:

$ npx vue-cli-service COMMAND

Help

Usage: vue-cli-service serve [options] [entry]

Options:

  --open         open browser on server start
  --copy         copy url to clipboard on server start
  --mode         specify env mode (default: development)
  --host         specify host (default: 0.0.0.0)
  --port         specify port (default: 8080)
  --https        use https (default: false)
  --public       specify the public network URL for the HMR client
  --skip-plugins comma-separated list of plugin names to skip for this run

Start dev server

$ vue-cli-service serve

Build

This will clean (remove old assets) by default.

$ vue-cli-service build
$ vue-cli-service build --no-clean

Lint

Fix:

$ vue-cli-service lint

Check:

$ vue-cli-service lint --no-fix