vue.config.js 588 B

1234567891011121314151617181920212223
  1. module.exports = {
  2. devServer: {
  3. proxy: {
  4. '/clmt': {
  5. target: 'http://192.168.0.48:8082/',
  6. changeOrigin: true,
  7. secure: false,
  8. },
  9. },
  10. // 关闭esline
  11. overlay: {
  12. warnings: false,
  13. errors: false
  14. },
  15. // lintOnSave: false
  16. },
  17. lintOnSave: false,
  18. publicPath: '/poc_web',
  19. // 打包名称
  20. outputDir: 'poc_web',
  21. // 放置生成的静态资源 (js、css、img、fonts) 的 (相对于 outputDir 的) 目录
  22. assetsDir: 'static',
  23. };