vue.config.js 554 B

12345678910111213141516
  1. module.exports = {
  2. outputDir: '../wwwroot',
  3. lintOnSave: false,
  4. //publicPath: './', // 默认'/',部署应用包时的基本 URL
  5. assetsDir: '', // 相对于outputDir的静态资源(js、css、img、fonts)目录
  6. lintOnSave: false,
  7. runtimeCompiler: true, // 是否使用包含运行时编译器的 Vue 构建版本
  8. productionSourceMap: false, // 生产环境的 source map
  9. devServer: {
  10. overlay: {
  11. warnings: false,
  12. errors: false
  13. },
  14. },
  15. lintOnSave: false, //关闭语法检查
  16. }