No Description

wanghai a4b004fc0d 说明初始化 2 years ago
src c6ec9f673d 智慧排水大屏初始化 2 years ago
typings c6ec9f673d 智慧排水大屏初始化 2 years ago
.editorconfig c6ec9f673d 智慧排水大屏初始化 2 years ago
.gitignore c6ec9f673d 智慧排水大屏初始化 2 years ago
LICENSE c6ec9f673d 智慧排水大屏初始化 2 years ago
README.md a4b004fc0d 说明初始化 2 years ago
appx.gif c6ec9f673d 智慧排水大屏初始化 2 years ago
bower.json c6ec9f673d 智慧排水大屏初始化 2 years ago
debug.log c6ec9f673d 智慧排水大屏初始化 2 years ago
favicon.ico c6ec9f673d 智慧排水大屏初始化 2 years ago
gulpfile.js c6ec9f673d 智慧排水大屏初始化 2 years ago
package.json c6ec9f673d 智慧排水大屏初始化 2 years ago
readme.txt c6ec9f673d 智慧排水大屏初始化 2 years ago
tsconfig.json c6ec9f673d 智慧排水大屏初始化 2 years ago
typings.json c6ec9f673d 智慧排水大屏初始化 2 years ago

README.md

AppX

基于 Require、JQuery、Lodash、Typescript、Gulp等构建的模块化 Web App 框架。 具有:自动化、模块化、懒加载、高兼容性 以及 基于 Typescript 的智能提示等特性。

技术栈

环境要求

应用名 版本号 查看版本
Node.js v10.19.0 > node -v
npm v6.13.4 > npm -v
Gulp v3.9.1 > gulp -v
Typescript v4.0.2 > tsc -v
Typings v2.1.1 > typings -v

建议使用IDE Visual Studio Code

使用方法

git clone -b dev http://192.168.2.241:3000/wanghai/dpzhps_gis.git
cd AppX
npm install
npm start

注: 1.国内因为 GFW 的原因 npm install 可能会失败(安装 Sass 失败)。 如果失败,请用一下命令替换上方的 npm install, 其他命令不变。CNPM

npm install cnpm
cnpm install

注: 2.请在dev分支下建立自己的分支进行开发,并定期合并到dev分支。 1、本地从当前所在分支(dev分支)上创建一个新分支: git checkout -b 新分支名 2、拉取远程某个分支到本地: git checkout -b 本地分支名 origin/远程分支名

3、功能开发完成后合并到父分支 (1)暂存自己修改的 (2)git checkout 父分支名 --切换到父分支 (3)git pull --拉取别人最新代码 (4)git merge --no-ff 合并分支名 --将自己分支合并到父分支 (5)git push --上传父分支 (6)如果有新代码,则需要删除本地分支,重新建本地分支 git branch -d

IIS部署注意MIME必须有如下配置项

文件扩展名 MIME类型
.json application/x-javascript
.wsv application/octet-stream
.wasm application/wasm
.woff application/font-woff
.woff2 application/font-woff2
.terrain application/vnd.quantized-mesh
.s3m audio/x-mod

开发人员

王海、李顺、朱博宇、黄伟航...