vue.config.js 552 B

1234567891011121314151617181920212223
  1. const {defineConfig} = require('@vue/cli-service')
  2. module.exports = defineConfig({
  3. transpileDependencies: true,
  4. lintOnSave: false,
  5. assetsDir:'static',
  6. publicPath:"./",
  7. devServer: {
  8. // host: process.env.HOST,
  9. // port: 8080,
  10. // open: true,
  11. // historyApiFallback: true,
  12. // allowedHosts: 'all',
  13. // hot: true,
  14. https: false,
  15. client:{
  16. overlay:false,
  17. },
  18. open: {
  19. target: ['http://localhost:8527'],
  20. },
  21. port: 8527
  22. }
  23. })