Vue项目中 端口号、项目自动运行和`eslint`关闭 配置

2022年6月7日14:15:26

该配置要配置在vue.config.js文件中,

module.exports = {
  // 设置端口号和自动打开
  devServer: {
    // 自动打开浏览器
    open: true,
    port: 8888
  },
  // 关闭ESLint
  lintOnSave:false
}
  • 作者:CHY__YHC
  • 原文链接:https://blog.csdn.net/weixin_45982960/article/details/122774759
    更新时间:2022年6月7日14:15:26 ,共 120 字。