You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xingyu4j cbc7b9dfc0 refactor: pay 3 years ago
..
.vscode fix :token刷新、rememberMe 、暗黑模式保存 、验证码开关 bug 3 years ago
plop perf: add view name 3 years ago
public feat: add vue3(element-plus) 4 years ago
src refactor: pay 3 years ago
types 1. 将 BasePage 重命名为 PageParam 3 years ago
.editorconfig feat: add vue3(element-plus) 4 years ago
.env fix: captcha enable 3 years ago
.env.base feat: add vue3(element-plus) 4 years ago
.env.dev feat: add vue3(element-plus) 4 years ago
.env.pro feat: add vue3(element-plus) 4 years ago
.env.test feat: add vue3(element-plus) 4 years ago
.eslintignore feat: add vue3(element-plus) 4 years ago
.eslintrc.js feat: add vue3(element-plus) 4 years ago
.gitignore refactor: vue3 axios api ... 4 years ago
.prettierignore feat: add vue3(element-plus) 4 years ago
.stylelintignore feat: add vue3(element-plus) 4 years ago
LICENSE refactor: vue3 axios api ... 4 years ago
README.md docs: add vxetable 3 years ago
index.html refactor 3 years ago
package.json fix: warn 3 years ago
plopfile.js feat: add vue3(element-plus) 4 years ago
pnpm-lock.yaml fix: warn 3 years ago
postcss.config.js feat: add vue3(element-plus) 4 years ago
prettier.config.js fix: warn 3 years ago
stylelint.config.js feat: add vue3(element-plus) 4 years ago
tsconfig.json remove: macros 3 years ago
use.md docs 3 years ago
vite.config.ts feat: add vite-plugin-vue-setup-extend 3 years ago
windi.config.ts feat: update 1.8.2 3 years ago

README.md

🌈 yudao-ui-admin-vue3

Prettier Sass Taiwind

介绍

  • 基于 vue3.2+ TypeScript Element Plus 2.2.0+ Vite3 Pinia Vxe-table , Windicss 等开发的后台管理系统

注意事项

  • 项目路径请不要使用中文命名!!!会造成解析乱码!!!请使用全英文路径!!!
  • node >=14.19.0(后续升级版本,对应 node 最低版本也会升级,建议直接使用 16 版本) ,pnpm >=7
  • 开发建议使用 谷歌浏览器-开发者版 不支持 IE\QQ 等浏览器

点击查看使用说明

前端依赖

框架 说明 版本
Vue vue 框架 3.2.45
Vite 开发与构建工具 3.2.3
Element Plus Element Plus 2.2.23
TypeScript JavaScript 的超集 4.9.3
pinia Vue 存储库 替代 vuex5 2.0.26
vueuse 常用工具集 9.6.0
vxe-table vue 最强表单 4.3.6
vue-i18n 国际化 9.2.2
vue-router vue 路由 4.1.6
windicss 下一代工具优先的 CSS 框架 3.5.6
iconify 在线图标库 3.0.0
wangeditor 富文本编辑器 5.1.23

推荐 VScode 开发,插件如下

  • WindiCSS IntelliSense WindiCSS --- 自动完成、语法突出显示、代码折叠和构建等高级功能
  • TypeScript Vue Plugin (Volar) --- 用于 TypeScript 的 Vue 插件
  • Vue Language Features (Volar) --- Vue3.0 语法支持
  • Iconify IntelliSense --- Iconify 预览和搜索
  • i18n Ally --- 国际化智能提示
  • Stylelint --- css 格式化
  • DotENV --- .env 文件高亮
  • Prettier --- 代码格式化
  • ESLint --- 脚本代码检查

安装 pnpm 并启动项目

  • 查看当前 npm 源
npm config ls
  • 如果执行上面命令您并未看到 registry = "https://registry.npmjs.org/"说明使用的非npm官方源请执行下面命令
npm config set registry https://registry.npmjs.org
  • 如果您还没安装 pnpm请执行下面命令
npm install -g pnpm
  • mac 用户遇到安装报错请在命令前加上 sudo

  • 安装依赖

pnpm install
  • 运行项目
pnpm dev
  • 打包
pnpm run build:pro
  • 安装一个包
pnpm add 包名
  • 卸载一个包
pnpm remove 包名
  • 设置镜像源
pnpm config set registry https://registry.npm.taobao.org/
  • 其他命令请看 package.json scripts

浏览器支持

本地开发推荐使用 Chrome 80+ 浏览器

支持现代浏览器, 不支持 IE ,QQ 等

 Edge
IE
 Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
not support last 2 versions last 2 versions last 2 versions last 2 versions