Skip to content

Latest commit

 

History

39 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auth-web-community

Auth 管理后台 Community Edition 前端仓库。基于 Vue 3、Vite、Element Plus、Tailwind CSS,TypeScript 。

配套后端:auth-server-community

配套文档:https://github.com/kiven-z/auth-docs

环境要求

  • Node.js ^20.19.0>=22.13.0
  • pnpm >=9

快速开始

pnpm install
pnpm dev            # 开发
pnpm dev:test       # test 模式
pnpm build          # 生产构建
pnpm preview        # 预览构建产物

常用脚本

命令 用途
pnpm typecheck tsc + vue-tsc 类型检查
pnpm lint ESLint + Prettier + Stylelint
pnpm lint:eslint / lint:prettier / lint:stylelint 单独执行
pnpm test / test:watch Vitest 单测
pnpm test:e2e Playwright E2E
pnpm test:e2e:local 使用本机 Chrome 跑 E2E
pnpm test:e2e:install 安装 Playwright 浏览器
pnpm clean:cache 清 ESLint 缓存并重装依赖

目录结构

auth-web-community
├── src/
│   ├── api/            # 接口封装
│   ├── app/            # 应用级初始化
│   ├── auth/           # 鉴权相关
│   ├── components/     # 通用组件
│   ├── core/           # 核心运行时
│   ├── features/       # 业务功能域
│   ├── layout/         # 布局
│   ├── router/         # 路由
│   ├── services/       # 服务层
│   ├── shared/         # 跨模块复用
│   ├── store/          # Pinia store
│   └── style/          # 全局样式
├── locales/            # i18n 文案
├── mock/               # 本地 mock
├── e2e/                # Playwright 用例
├── build/              # 构建脚本
└── docker/             # 容器化

代码规范

  • ESLint + Prettier + Stylelint,提交前执行 pnpm lint

赞助

如果这个项目对你有帮助,欢迎打赏支持。

微信
微信
支付宝
支付宝

许可证

Copyright 2024-2026 Bunny。

本仓库基于 Apache License 2.0 发布。

About

RBAC + Data Scope Web(Community)

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages