vue.config.js 459 B

123456789101112131415161718192021222324
  1. module.exports = {
  2. publicPath: '/demo',
  3. // transpileDependencies: ['naf-core'],
  4. // configureWebpack: {
  5. // externals: {
  6. // 'element-ui': 'Element',
  7. // vue: 'Vue',
  8. // },
  9. // },
  10. devServer: {
  11. proxy: {
  12. '/ws': {
  13. // target: 'http://smart.chinahuian.cn',
  14. target: 'http://172.17.116.100:15674',
  15. ws: true,
  16. },
  17. '/weixin': {
  18. target: 'http://smart.cc-lotus.info',
  19. },
  20. },
  21. },
  22. };