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.

3.3 KiB

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.

项目通用开发模版

当前最新版本: 3.7.3发布时间2025-02-10

简介

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

开发环境搭建

技术文档

安装与使用

  • 本地环境安装 Node.js 、npm 、pnpm
  • Node.js 版本建议v20.15.0,要求Node 20+ 版本以上

( 因为Vite5 不再支持已 EOL 的 Node.js 14 / 16 / 17 / 19现在需要 Node.js 18 / 20+ )

  • Get the project code
git clone xxxxxx
  • Installation dependencies
cd JeecgBoot/jeecgboot-vue3

pnpm install
  • 配置接口地址 .env.development
VITE_PROXY = [["/api","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

入门必备

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

浏览器支持

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

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

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