# webgis **Repository Path**: shen-jinghao/webgis ## Basic Information - **Project Name**: webgis - **Description**: webgis课程大作业 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2022-11-12 - **Last Updated**: 2024-04-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # webgis-v2 ## 项目构建 **安装脚手架cli 4.5.15 需要看nodejs的版本号** ``` cnpm install -D @vue/cli@4.5.15 安装scss cnpm install -D node-sass cnpm i sass-loader@6.0.6 -D 安装element cnpm install element-ui -S ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). ## 一些库和设置 + ui:element + 图库用font awesome + 常规的reset.css[重置样式表文件 (reset.css) - sidney.sun - 博客园 (cnblogs.com)](https://www.cnblogs.com/sun0201/articles/10090728.html) + 请求用 axios 在mainjs中导入后 Vue.prototype.axios=axios//挂载到原型,可以在全局使用