feat: add map interaction and coordinate plotter tools, optimize dev config
1. 新增图上量测与拾取、坐标展点两个地图工具页面 2. 安装leaflet依赖并配置vite开发服务器允许局域网访问 3. 更新首页工具列表,新增两个工具入口 4. 优化坐标转换器默认参数和文件读取方式 5. 调整面积计算精度,删除无用的HelloWorld组件
This commit is contained in:
@@ -4,5 +4,11 @@ import vue from '@vitejs/plugin-vue'
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
server: {
|
||||
host: '0.0.0.0', // 允许局域网访问
|
||||
port: 5173, // 端口号,可自定义
|
||||
strictPort: false, // 端口被占用时自动尝试下一个
|
||||
open: false, // 启动时不自动打开浏览器
|
||||
},
|
||||
base: '/geo-tools/',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user