npm run serve another port code example Example: how to run npm on different port npm run dev -- --port 8080