hookehuyr

分包缩小体积

...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Author: hookehuyr hookehuyr@gmail.com 2 * @Author: hookehuyr hookehuyr@gmail.com
3 * @Date: 2022-05-27 15:57:59 3 * @Date: 2022-05-27 15:57:59
4 * @LastEditors: hookehuyr hookehuyr@gmail.com 4 * @LastEditors: hookehuyr hookehuyr@gmail.com
5 - * @LastEditTime: 2022-10-21 11:22:11 5 + * @LastEditTime: 2022-10-31 17:00:58
6 * @FilePath: /swx/src/app.config.js 6 * @FilePath: /swx/src/app.config.js
7 * @Description: 7 * @Description:
8 */ 8 */
...@@ -20,8 +20,6 @@ const getVantComponentConf = (arr) => { ...@@ -20,8 +20,6 @@ const getVantComponentConf = (arr) => {
20 export default { 20 export default {
21 pages: [ 21 pages: [
22 'pages/index/index', 22 'pages/index/index',
23 - 'pages/foo/index',
24 - 'pages/my/index',
25 'pages/createActivity/index', 23 'pages/createActivity/index',
26 'pages/activityDetail/index', 24 'pages/activityDetail/index',
27 'pages/post/index', 25 'pages/post/index',
...@@ -33,9 +31,6 @@ export default { ...@@ -33,9 +31,6 @@ export default {
33 'pages/userInfo/index', 31 'pages/userInfo/index',
34 'pages/addRecord/index', 32 'pages/addRecord/index',
35 'pages/editInfo/index', 33 'pages/editInfo/index',
36 - 'pages/myActivityList/index',
37 - 'pages/myCreateActivity/index',
38 - 'pages/myFollowUser/index',
39 'pages/projectManage/index', 34 'pages/projectManage/index',
40 'pages/createProject/index', 35 'pages/createProject/index',
41 'pages/userManage/index', 36 'pages/userManage/index',
...@@ -51,6 +46,22 @@ export default { ...@@ -51,6 +46,22 @@ export default {
51 root: 'pages/demo', 46 root: 'pages/demo',
52 pages: ['index'], 47 pages: ['index'],
53 }, 48 },
49 + {
50 + root: 'pages/my',
51 + pages: ['index'],
52 + },
53 + {
54 + root: 'pages/myActivityList',
55 + pages: ['index'],
56 + },
57 + {
58 + root: 'pages/myCreateActivity',
59 + pages: ['index'],
60 + },
61 + {
62 + root: 'pages/myFollowUser',
63 + pages: ['index'],
64 + },
54 ], 65 ],
55 window: { 66 window: {
56 backgroundTextStyle: 'light', 67 backgroundTextStyle: 'light',
......