vue.config.js 618 B

12345678910111213141516171819202122232425262728
  1. const webpack = require("webpack");
  2. module.exports = {
  3. configureWebpack: {
  4. plugins: [
  5. new webpack.ProvidePlugin({
  6. $: 'jquery',
  7. jQuery: 'jquery',
  8. 'window.jQuery': 'jquery',
  9. Popper: ['popper.js', 'default']
  10. }),
  11. ],
  12. },
  13. publicPath: 'https://qg-oss-static.oss-cn-shenzhen.aliyuncs.com/mytest/',
  14. lintOnSave: false,
  15. // devServer: {
  16. // proxy: {
  17. // '/api': {
  18. // target: '',
  19. // changeOrigin: true,
  20. // ws: true,
  21. // pathRewrite: {
  22. // '^/api': ''
  23. // }
  24. // }
  25. // }
  26. // }
  27. }