- loginApi 补 refreshToken/expiresIn/adminId,登录成功持久化 refreshToken(此前丢弃,静默续期无从发起) - refreshTokenApi 改 body 传 refreshToken(原模板误传 withCredentials, 后端 required 校验必失败);doRefreshToken 适配新令牌对 - logoutApi 携带 refreshToken,登出撤销刷新会话 - 与后端 HTTP 401 语义化配套:过期触发 vben 静默刷新,失败再重登 - vue-tsc 通过(钩子 turbo 环节因并行提交冲突中断,已独立验证) |
||
|---|---|---|
| .changeset | ||
| .gitea/workflows | ||
| .github | ||
| .vscode | ||
| .workbuddy/memory | ||
| apps/web-tdesign | ||
| internal | ||
| packages | ||
| scripts | ||
| .browserslistrc | ||
| .commitlintrc.js | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitconfig | ||
| .gitignore | ||
| .gitpod.yml | ||
| .node-version | ||
| .npmrc | ||
| .stylelintignore | ||
| agents.md | ||
| cspell.json | ||
| eslint.config.mjs | ||
| lefthook.yml | ||
| LICENSE | ||
| oxfmt.config.ts | ||
| oxlint.config.ts | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.ja-JP.md | ||
| README.md | ||
| README.zh-CN.md | ||
| stylelint.config.mjs | ||
| tea.yaml | ||
| turbo.json | ||
| vben-admin.code-workspace | ||
| vitest.config.ts | ||
Introduction
Vue Vben Admin is a free and open source middle and back-end template. Using the latest vue3, vite, TypeScript and other mainstream technology development, the out-of-the-box middle and back-end front-end solutions can also be used for learning reference.
Upgrade Notice
This is the latest version, 5.0, and it is not compatible with previous versions. If you are starting a new project, it is recommended to use the latest version. If you wish to view the old version, please use the v2 branch.
Features
- Latest Technology Stack: Developed with cutting-edge front-end technologies like Vue 3 and Vite
- TypeScript: A language for application-scale JavaScript
- Themes: Multiple theme colors available with customizable options
- Internationalization: Comprehensive built-in internationalization support
- Permissions: Built-in solution for dynamic route-based permission generation
Preview
- Vben Admin - Full version Chinese site
Test Account: vben/123456
Use Gitpod
Open the project in Gitpod (free online dev environment for GitHub) and start coding immediately.
Documentation
Install and Use
- Get the project code
git clone https://github.com/vbenjs/vue-vben-admin.git
- Install dependencies
cd vue-vben-admin
npm i -g corepack
pnpm install
- Run
pnpm dev
- Build
pnpm build
Change Log
How to Contribute
You are very welcome to join! Raise an issue or submit a Pull Request.
Pull Request Process:
- Fork the code
- Create your branch:
git checkout -b feat/xxxx - Submit your changes:
git commit -am 'feat(function): add xxxxx' - Push your branch:
git push origin feat/xxxx - Submit
pull request
Git Contribution Submission Specification
Reference vue specification (Angular)
featAdd new featuresfixFix the problem/BUGstyleThe code style is related and does not affect the running resultperfOptimization/performance improvementrefactorRefactorrevertUndo edittestTest relateddocsDocumentation/noteschoreDependency update/scaffolding configuration modification etc.ciContinuous integrationtypesType definition file changes
Browser Support
Tailwind CSS v4.0 is designed for Safari 16.4+, Chrome 111+, and Firefox 128+
Support modern browsers, not IE
![]() Edge |
![]() Firefox |
![]() Chrome |
![]() Safari |
|---|---|---|---|
| last 2 versions | last 2 versions | last 2 versions | last 2 versions |
Maintainer
Star History
Donate
If you think this project is helpful to you, you can help the author buy a cup of coffee to show your support!




