You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vue.config.js 398B

1 year ago
8 months ago
1 year ago
1 year ago
1234567891011121314151617181920212223
  1. const {
  2. defineConfig,
  3. } = require('@vue/cli-service');
  4. module.exports = defineConfig({
  5. devServer: {
  6. host: '0.0.0.0',
  7. port: 8080,
  8. proxy: {
  9. '/api': {
  10. target: 'http://192.168.1.167:5019',
  11. changeOrigin: true,
  12. pathRewrite: {
  13. '^/api': '',
  14. },
  15. },
  16. },
  17. },
  18. transpileDependencies: true,
  19. lintOnSave: false,
  20. publicPath: '/',
  21. });