|
пре 4 месеци | |
---|---|---|
public | пре 10 месеци | |
src | пре 4 месеци | |
.dockerignore | пре 11 месеци | |
.editorconfig | пре 11 месеци | |
.env | пре 11 месеци | |
.env.development | пре 4 месеци | |
.env.production | пре 5 месеци | |
.env.test | пре 11 месеци | |
.eslintignore | пре 11 месеци | |
.gitattributes | пре 11 месеци | |
.gitignore | пре 10 месеци | |
.prettierrc | пре 11 месеци | |
Dockerfile | пре 11 месеци | |
LICENSE | пре 11 месеци | |
README.md | пре 5 месеци | |
babel.config.js | пре 11 месеци | |
idea.config.js | пре 11 месеци | |
package.json | пре 11 месеци | |
pnpm-lock.yaml | пре 4 месеци | |
vue.config.js | пре 7 месеци | |
yarn.lock | пре 11 месеци |
nodejs版本尽量使用16.16.0
vr配置文件路径(665行):\src\components\OneMap\BasicMap.vue
上传img配置文件路径(10行):\src\config\index.js
images一张图图片展示(380行):src\components\OneMap\widgets\QueryInfo.vue
页面内的图片展示路径:/images/temp/
geoserver路径:nginx中配置
底图路径(67行):\src\components\OneMap\widgets\BaseMap.vue (/sd_dom/sd/{z}/{x}/{y}.png 参考images路径)
当前最新版本: 3.1.0(发布日期:20220301)
基于 Ant Design of Vue 实现的 Ant Design Pro Vue 版
Jeecg-boot 的前端UI框架,采用前后端分离方案,提供强大代码生成器的低代码平台。
前端页面代码和后端功能代码一键生成,不需要写任何代码,保持jeecg一贯的强大!!
拉取项目代码
git clone https://github.com/zhangdaiscott/jeecg-boot.git
cd jeecg-boot/ant-design-vue-jeecg
安装依赖
yarn install
开发模式运行
yarn run serve
编译项目
yarn run build
Lints and fixes files
yarn run lint
项目使用的 vue-cli3, 请更新您的 cli
关闭 Eslint (不推荐) 移除 package.json
中 eslintConfig
整个节点代码
修改 Ant Design 配色,在文件 vue.config.js
中,其他 less 变量覆盖参考 ant design 官方说明
css: {
loaderOptions: {
less: {
modifyVars: {
/* less 变量覆盖,用于自定义 ant design 主题 */
'primary-color': '#F5222D',
'link-color': '#F5222D',
'border-radius-base': '4px',
},
javascriptEnabled: true,
}
}
}
其他待补充...
@vue/cli 升级后,eslint 规则更新了。由于影响到全部 .vue 文件,需要逐个验证。既暂时关闭部分原本不验证的规则,后期维护时,在逐步修正这些 rules
# 1.修改前端项目的后台域名
.env.development
域名改成: http://jeecg-boot-system:8080/jeecg-boot
# 2.先进入打包前端项目
yarn run build
# 3.构建镜像
docker build -t nginx:jeecgboot .
# 4.启动镜像
docker run --name jeecg-boot-nginx -p 80:80 -d nginx:jeecgboot
# 5.配置host
# jeecgboot
127.0.0.1 jeecg-boot-redis
127.0.0.1 jeecg-boot-mysql
127.0.0.1 jeecg-boot-system
# 6.访问前台项目
http://localhost:80