title: Serve Vue Cli 3.10.0 Project in a specific port
body: <p>How can I serve Vue CLI project in a specific port always, say <code>8888</code>? I tried the following options.</p>
  
  <ol>
  <li>Editing the serve script in <code>package.json</code> to <code>vue-cli-service serve --port 8888</code></li>
  <li><p>Updating the <code>devServer</code> option in <code>vue.config.js</code>. I modified the same to </p>
  
  <p><code>devServer: {
    port: 8888
  }</code></p></li>
  <li><p>Serving project specifying port option in serve command like <code>npm run serve -- --port 8888</code></p></li>
  </ol>
  
  <p>None of the above mentioned steps brought me a luck. Can I know how this to be done in the right way?</p>