赞
踩

Wocwin-Admin,是基于 Vue3.2、TypeScript、Vite、Pinia、Element-Plus、Qiankun(微前端) 开源的一套后台管理模板;同时集成了微前端 qiankun也可以当做一个子应用。项目中组件页面使用了Element-plus 二次封装 t-ui-plus 组件,目前已新增fastmock接口。
账号:wocwin ; user 密码都是:123456
setup语法糖注意: 本地环境需要安装 Node.js 16.x+、pnpm 7.x+
# GitHub
git clone https://github.com/wocwin/wocwin-admin.git
# Gitee
git clone https://gitee.com/wocwin/wocwin-admin.git
# 安装依赖
pnpm install
# 启动服务
pnpm serve
# build
pnpm dev
# prettier 格式化代码
pnpm lint:prettier
首屏加载页:

登录页:


生产大屏:(双击大屏页面–实现全屏显示)

首页:


TTable+查询条件(一屏展示页面):


国际风格:


Layout 布局方式:




多级菜单嵌套

高德地图

灰色模式

Wocwin-Admin
├─ build # Vite 配置项
├─ public # 静态资源文件(该文件夹不会被打包)
├─ src
│ ├─ api # API 接口管理
│ ├─ assets # 静态资源文件
│ ├─ components # 全局组件
│ ├─ config # 全局配置项
│ ├─ hooks # 常用 Hooks 封装
│ ├─ languages # 语言国际化 i18n
│ ├─ layout # 框架布局模块
│ ├─ router # 路由管理
│ ├─ store # pinia store
│ ├─ styles # 全局样式文件
│ ├─ typings # 全局 ts 声明
│ ├─ utils # 常用工具库
│ ├─ views # 项目所有页面
│ ├─ App.vue # 项目主组件
│ ├─ main.ts # 项目入口文件
│ ├─ auto-import.d.ts # 自动导入vue、vue-router、pinia相关API(无需import引入)
│ └─ vite-env.d.ts # 指定 ts 识别 vue
├─ .env.dev # 开发环境配置
├─ .env.prod # 生产环境配置
├─ .env.sit # 测试环境配置
├─ .eslintignore # 忽略 Eslint 校验
├─ .eslintrc.cjs # Eslint 校验配置文件
├─ .gitignore # 忽略 git 提交
├─ .prettierignore # 忽略 Prettier 格式化
├─ .prettierrc.cjs # Prettier 格式化配置
├─ .stylelintignore # 忽略 stylelint 格式化
├─ .stylelintrc.cjs # stylelint 样式格式化配置
├─ index.html # 入口 html
├─ stats.html # Rollup Visualizer html
├─ LICENSE # 开源协议文件
├─ deploy.sh # 发布GitHub Pages指令
├─ pnpm-lock.yaml # 依赖包包版本锁
├─ package.json # 依赖包管理
├─ postcss.config.cjs # postcss 配置
├─ README.md # README 介绍
├─ tsconfig.json # typescript 全局配置
└─ vite.config.ts # vite 全局配置文件
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。