vue.config.js 638 B

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