vue.config.js 889 B

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