vue.config.js 409 B

1234567891011121314151617181920212223
  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.cc-lotus.info',
  14. ws: true,
  15. },
  16. '/weixin': {
  17. target: 'http://smart.cc-lotus.info',
  18. },
  19. },
  20. },
  21. };