vue.config.js 496 B

1234567891011121314151617181920
  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. open: {
  16. target: ['http://localhost:8527'],
  17. },
  18. port: 8527
  19. }
  20. })