w-manifest.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "花卉宝",
  3. "appid": "",
  4. "description": "应用描述",
  5. "versionName": "1.0.0",
  6. "versionCode": "100",
  7. "transformPx": true,
  8. "debug": false,
  9. "networkTimeout": {
  10. "request": 200000
  11. },
  12. "mp-weixin": {
  13. "appid": "wx3a163add860e0a86",
  14. "setting": {
  15. "urlCheck": false
  16. },
  17. "usingComponents": true,
  18. "permission": {
  19. "scope.userLocation": {
  20. "desc": "请点击确定"
  21. }
  22. }
  23. },
  24. "mp-alipay": {
  25. "usingComponents": true
  26. },
  27. "mp-baidu": {
  28. "usingComponents": true
  29. },
  30. "mp-toutiao": {
  31. "usingComponents": true
  32. },
  33. "h5": {
  34. "template": "template.h5.html",
  35. "router": {
  36. // "mode" : "history",
  37. "base": "/",
  38. "publicPath": "/"
  39. },
  40. "async": {
  41. "timeout": 200000
  42. },
  43. "devServer": {
  44. "port": 81,
  45. "proxy": {
  46. "/api": {
  47. "target": "http://api.w.huaml.com",
  48. "secure": false,
  49. "changeOrigin": true,
  50. "pathRewrite": {
  51. "^/api": ""
  52. }
  53. }
  54. }
  55. },
  56. "sdkConfigs": {
  57. "maps": {
  58. "qqmap": {
  59. "key": ""
  60. }
  61. }
  62. },
  63. "optimization": {
  64. "treeShaking": {
  65. "enable": true
  66. }
  67. }
  68. }
  69. }