Commit 5cd98ab2b04c05ee5c4943ef421bfdefec2f2588

Authored by zhangdaiscott
1 parent 01ac622c

Jeecg Boot 2.2.1 版本发布,基于SpringBoot的低代码平台

Showing 190 changed files with 28209 additions and 26892 deletions

Too many changes to show.

To preserve performance only 6 of 190 files are displayed.

README.md
... ... @@ -7,7 +7,7 @@
7 7 JEECG BOOT 低代码开发平台(前后端分离版本)
8 8 ===============
9 9  
10   -当前最新版本: 2.2.0(发布日期:2020-05-06
  10 +当前最新版本: 2.2.1(发布日期:2020-07-13
11 11  
12 12  
13 13 [![AUR](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://github.com/zhangdaiscott/jeecg-boot/blob/master/LICENSE)
... ...
ant-design-vue-jeecg/.dockerignore 0 → 100644
  1 +docs
  2 +public
  3 +src
  4 +.dockerignore
  5 +.editorconfig
  6 +.eslintignore
  7 +.gitattributes
  8 +.gitignore
  9 +.prettierrc
  10 +babel.config.js
  11 +Dockerfile
  12 +idea.config.js
  13 +LICENSE
  14 +package.json
  15 +package-lock.json
  16 +README.md
  17 +vue.config.js
  18 +yarn
  19 +yarn.lock
  20 +yarn-error.log
  21 +.idea
  22 +.svn
  23 +node_modules
0 24 \ No newline at end of file
... ...
ant-design-vue-jeecg/.eslintignore deleted
1   -/src
2 0 \ No newline at end of file
ant-design-vue-jeecg/Dockerfile 0 → 100644
  1 +FROM nginx
  2 +MAINTAINER jeecgos@163.com
  3 +VOLUME /tmp
  4 +ENV LANG en_US.UTF-8
  5 +RUN echo "server { \
  6 + listen 80; \
  7 + location ^~ /jeecg-boot { \
  8 + proxy_pass http://jeecg-boot-system:8080/jeecg-boot/; \
  9 + proxy_set_header Host jeecg-boot-system; \
  10 + proxy_set_header X-Real-IP \$remote_addr; \
  11 + proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; \
  12 + } \
  13 + #解决Router(mode: 'history')模式下,刷新路由地址不能找到页面的问题 \
  14 + location / { \
  15 + root /var/www/html/; \
  16 + index index.html index.htm; \
  17 + if (!-e \$request_filename) { \
  18 + rewrite ^(.*)\$ /index.html?s=\$1 last; \
  19 + break; \
  20 + } \
  21 + } \
  22 + access_log /var/log/nginx/access.log ; \
  23 + } " > /etc/nginx/conf.d/default.conf \
  24 + && mkdir -p /var/www \
  25 + && mkdir -p /var/www/html
  26 +
  27 +ADD dist/ /var/www/html/
  28 +EXPOSE 80
  29 +EXPOSE 443
0 30 \ No newline at end of file
... ...
ant-design-vue-jeecg/README.md
1 1 Ant Design Jeecg Vue
2 2 ====
3 3  
4   -当前最新版本: 2.2.0(发布日期:2020-05-06
  4 +当前最新版本: 2.2.1(发布日期:20200713
5 5  
6 6 Overview
7 7 ----
... ... @@ -103,4 +103,33 @@ yarn run lint
103 103 备注
104 104 ----
105 105  
106   -> @vue/cli 升级后,eslint 规则更新了。由于影响到全部 .vue 文件,需要逐个验证。既暂时关闭部分原本不验证的规则,后期维护时,在逐步修正这些 rules
107 106 \ No newline at end of file
  107 +> @vue/cli 升级后,eslint 规则更新了。由于影响到全部 .vue 文件,需要逐个验证。既暂时关闭部分原本不验证的规则,后期维护时,在逐步修正这些 rules
  108 +
  109 +
  110 +Docker 镜像使用
  111 +----
  112 +
  113 + ```
  114 +# 1.修改前端项目的后台域名
  115 + public/index.html
  116 + 域名改成: http://jeecg-boot-system:8080/jeecg-boot
  117 +
  118 +# 2.先进入打包前端项目
  119 + yarn run build
  120 +
  121 +# 3.构建镜像
  122 + docker build -t nginx:jeecgboot .
  123 +
  124 +# 4.启动镜像
  125 + docker run --name jeecg-boot-nginx -p 80:80 -d nginx:jeecgboot
  126 +
  127 +# 5.配置host
  128 +
  129 + # jeecgboot
  130 + 127.0.0.1 jeecg-boot-redis
  131 + 127.0.0.1 jeecg-boot-mysql
  132 + 127.0.0.1 jeecg-boot-system
  133 +
  134 +# 6.访问前台项目
  135 + http://localhost:80
  136 +```
108 137 \ No newline at end of file
... ...
ant-design-vue-jeecg/babel.config.js
1 1 module.exports = {
2 2 presets: [
3 3 ['@vue/app',
4   - { useBuiltIns: 'entry' }]
  4 + { useBuiltIns: 'entry' }]
5 5 ]
6 6 }
... ...