You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
胡川虎 58cf15dd4d
first commit
4 months ago
..
build first commit 4 months ago
mock first commit 4 months ago
public first commit 4 months ago
src first commit 4 months ago
tests first commit 4 months ago
types first commit 4 months ago
.editorconfig first commit 4 months ago
.env first commit 4 months ago
.env.development first commit 4 months ago
.env.production first commit 4 months ago
.eslintignore first commit 4 months ago
.eslintrc.js first commit 4 months ago
.gitignore first commit 4 months ago
.gitpod.yml first commit 4 months ago
.prettierignore first commit 4 months ago
.stylelintignore first commit 4 months ago
.yarnclean first commit 4 months ago
Dockerfile first commit 4 months ago
LICENSE first commit 4 months ago
README.md first commit 4 months ago
commitlint.config.js first commit 4 months ago
index.html first commit 4 months ago
jest.config.mjs first commit 4 months ago
npm first commit 4 months ago
package.json first commit 4 months ago
pnpm-lock.yaml first commit 4 months ago
postcss.config.js first commit 4 months ago
prettier.config.js first commit 4 months ago
stylelint.config.js first commit 4 months ago
tsconfig.json first commit 4 months ago
vite.config.ts first commit 4 months ago

README.md

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

JeecgBoot 企业级低代码开发平台

当前最新版本: 3.7.0_all发布时间2024-06-23

AUR GitHub stars GitHub forks

简介

JeecgBoot-Vue3采用 Vue3.0、Vite、 Ant-Design-Vue4、TypeScript 等新技术方案包括二次封装组件、utils、hooks、动态菜单、权限校验、按钮级别权限控制等功能。

强大的代码生成器让前后端代码一键生成! JeecgBoot引领低代码开发模式(OnlineCoding-> 代码生成-> 手工MERGE) 帮助解决Java项目70%的重复工作,让开发更多关注业务。既能快速提高效率,节省成本,同时又不失灵活性

开发环境搭建

技术文档

演示系统的登录账号密码,请点击 获取账号密码 获取

安装与使用

环境要求: 版本要求Node 14.18+ / 16+ 版本以上,不再支持 Node 12 / 13 / 15。 建议使用pnpm如果使用yarn,请用Yarn1.x版本否则依赖可能安装不上。

  • Get the project code
git clone https://github.com/jeecgboot/JeecgBoot.git
  • Installation dependencies
cd JeecgBoot/jeecgboot-vue3

pnpm install
  • 配置接口地址 .env.development
VITE_PROXY = [["/jeecgboot","http://localhost:8080/jeecg-boot"],["/upload","http://localhost:3300/upload"]]
VITE_GLOB_DOMAIN_URL=http://localhost:8080/jeecg-boot

说明:把http://localhost:8080/jeecg-boot 换成自己地址,其他不用改。

  • run
pnpm dev
  • build
pnpm build

Docker镜像启动前端(单体模式)

  • host设置

注意: 需要把127.0.0.1替换成真实IP 比如192.开头,不然后端不通。

127.0.0.1 jeecg-boot-system
127.0.0.1 jeecg-boot-gateway
  • 下载项目
git clone https://github.com/jeecgboot/JeecgBoot.git

cd JeecgBoot/jeecgboot-vue3
  • 配置接口域名 .env.production
VITE_GLOB_API_URL=/jeecgboot
VITE_GLOB_DOMAIN_URL=http://jeecg-boot-system:8080/jeecg-boot

后台单体启动 见此文档

  • 编译项目
pnpm install

pnpm build
  • 启动容器
docker build -t jeecgboot-vue3 .
docker run --name jeecgboot-vue3-nginx -p 80:80 -d jeecgboot-vue3
  • 访问前台

http://localhost

Docker镜像启动前端(微服务模式)

这里只写与单体的区别步骤

  • 区别1. 修改后台域名 .env.production
VITE_GLOB_API_URL=/jeecgboot
VITE_GLOB_DOMAIN_URL=http://jeecg-boot-gateway:9999

后台微服务启动 见此文档

  • 区别2. 修改Dockerfile文件
- 把`http://jeecg-boot-system:8080/jeecg-boot`替换成 `http://jeecg-boot-gateway:9999`
- 把`jeecg-boot-system`替换成 `jeecg-boot-gateway`
  • 其他与单体模式一样
镜像需要重现构建最好把单体的镜像删掉重新构建docker镜像。

入门必备

本项目需要一定前端基础知识,请确保掌握 Vue 的基础知识,以便能处理一些常见的问题。 建议在开发前先学一下以下内容,提前了解和学习这些知识,会对项目理解非常有帮助:

浏览器支持

本地开发推荐使用Chrome 最新版浏览器,不支持Chrome 90以下版本。

生产环境支持现代浏览器,不支持 IE。

IEIE  EdgeEdge FirefoxFirefox ChromeChrome SafariSafari
not support last 2 versions last 2 versions last 2 versions last 2 versions