移动端浏览器处理吊坠报警。
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

41 рядки
910B

  1. const autoprefixer = require('autoprefixer')
  2. const pxtorem = require('postcss-pxtorem')
  3. module.exports = {
  4. outputDir: 'docs',
  5. baseUrl: '/',
  6. assetsDir: 'static',
  7. productionSourceMap: false,
  8. css: {
  9. loaderOptions: {
  10. postcss: {
  11. plugins: [
  12. autoprefixer(),
  13. pxtorem({
  14. rootValue: 37.5,
  15. propList: ['*']
  16. })
  17. ]
  18. }
  19. }
  20. },
  21. devServer: {
  22. port: 9090, // 端口号
  23. https: false, // https:{type:Boolean}
  24. open: true, //配置自动启动浏览器
  25. disableHostCheck: true,
  26. proxy: {
  27. // '/api': {
  28. // target: 'http://localhost:8889',
  29. // changeOrigin: true
  30. // },
  31. '/platform-framework': {
  32. // target: `http://127.0.0.1:${port}/mock`,
  33. target: `http://192.168.1.83:8080`,
  34. // target: 'http://192.168.1.169:8086/',
  35. changeOrigin: true
  36. }
  37. }
  38. }
  39. }