vue cli 3.0 is set to run the specified port number

  Creating vue.config.js file in the root directory of the project

= {module.exports 
  devserver: { 
    Port: 3000, // port 
  }, 
  // lintOnSave: // cancel eslint to false verification 
}

  It can run the project


Back to Contents

Guess you like

Origin www.cnblogs.com/gitByLegend/p/11124399.html