hookehuyr

✨ feat(新增地图主体页面):

别院甘露
/*
* @Date: 2023-05-29 11:10:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-03-21 17:19:14
* @LastEditTime: 2024-09-14 14:23:54
* @FilePath: /map-demo/src/route.js
* @Description: 文件描述
*/
......@@ -41,4 +41,11 @@ export default [
title: '工具地图',
},
},
{
path: '/bieyuan/map',
component: () => import('@/views/bieyuan/map.vue'),
meta: {
title: '地图',
},
}
];
......
This diff is collapsed. Click to expand it.
......@@ -153,6 +153,12 @@ export default ({ command, mode }) => {
// mono1: path.resolve(__dirname, 'src/packages/mono1/index.html'),
// mono2: path.resolve(__dirname, 'src/packages/mono2/index.html'),
},
manualChunks (id) {
if (id.includes('node_modules')) {
return id.toString().split('node_modules/')[1].split('/')[0].toString();
// return 'vendor';
}
}
},
},
optimizeDeps: {
......