# dm-vue3 **Repository Path**: ye-code/dm-vue3 ## Basic Information - **Project Name**: dm-vue3 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-08 - **Last Updated**: 2025-11-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 项目框架 #### 介绍 veu3+element-plus+openlayers+cesium 项目框架 #### 图层架构 src/map/layer.js zIndex 基础图层:1-10(包括矢量、影像、地形底图、遮罩层 本项目基础图层zIndex为1,遮罩层为2) 面图层:11-20() 线图层:21-30(包括地图边线) 点图层:31-40() #### 安装教程 1. node版本18 2. npm install -g pnpm 3. Set-ExecutionPolicy RemoteSigned -Scope CurrentUser 4. pnpm i rollup里面的配置 // html2canvas 只有极少数的页面使用了 所以要单独处理一下 第三方库分类打包 if (id.includes('html2canvas')) { return 'html2canvas'; } // 打包入口文件 根目录下的 index.html // 也就是项目从哪个文件开始打包 input: { index: fileURLToPath(new URL('./index.html', import.meta.url)) }, // external: ['moment', 'video.js', 'jspdf', 'xlsx', 'echart'], // plugins: [visualizer({ open: true })], //globals treeshake: { preset: 'recommended', manualPureFunctions: ['console.log'] }, // experimentalLogSideEffects: true, output: { experimentalMinChunkSize: 20 \* 1024 // manualChunks: (id: string) => { // html2canvas 只有极少数的页面使用了 所以要单独处理一下 第三方库分类打包 if (id.includes('html2canvas')) { return 'html2canvas'; } // if (id.includes('node_modules')) { // return 'vendor'; // } // return 'index'; // } } // experimentalLogSideEffects: true, treeshake: { preset: 'recommended', manualPureFunctions: ['console.log'] },