admin-vben/apps/backend-mock
xingyu a4736a49f8
feat: migrate to Tailwind CSS v4 (#7614)
* chore: update deps

* feat: use jsonc/x language

* chore: update eslint 10.0

* fix: no-useless-assignment

* feat: add CLAUDE.md

* chore: ignore

* feat: claude

* fix: lint

* chore: suppot eslint v10

* fix: lint

* fix: lint

* fix: type check

* fix: unit test

* fix: Suggested fix

* fix: unit test

* chore: update stylelint v17

* chore: update all major deps

* fix:  echarts console warn

* chore: update vitest v4

* feat: add skills ignores

* chore: update deps

* chore: update deps

* fix: cspell

* chore: update deps

* chore: update tailwindcss v4

* chore: remove postcss config

* fix: no use catalog

* chore: tailwind v4 config

* fix: tailwindcss v4 sort

* feat: use eslint-plugin-better-tailwindcss

* fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier

* fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier

* fix(lint): resolve prettier and better-tailwindcss formatting conflicts

* fix(tailwind): update theme references and lint sources

* style(format): normalize apps docs and playground vue files

* style(format): normalize core ui-kit components

* style(format): normalize effects ui and layout components
2026-03-10 05:08:45 +08:00
..
api feat: migrate to Tailwind CSS v4 (#7614) 2026-03-10 05:08:45 +08:00
middleware fix(@vben/backend-mock): fix all ts type errors in this module (#6613) 2025-08-12 17:23:39 +08:00
routes fix(@vben/backend-mock): fix all ts type errors in this module (#6613) 2025-08-12 17:23:39 +08:00
utils Revert "refactor(jwt): 更新 JWT 工具函数实现方式 (#6869)" 2025-11-03 19:34:45 +08:00
.env feat: refactor and improve the request client and support refreshToken (#4157) 2024-08-19 22:59:42 +08:00
README.md feat: refactor and improve the request client and support refreshToken (#4157) 2024-08-19 22:59:42 +08:00
error.ts fix: change deprecated func (#4236) 2024-08-26 20:32:02 +08:00
nitro.config.ts fix: nitro server cors support with cookie (#5549) 2025-02-17 15:17:31 +08:00
package.json chore: release 5.6.0 2026-02-09 05:09:57 +08:00
tsconfig.build.json feat: add backend-mock app 2024-06-30 14:09:44 +08:00
tsconfig.json fix:update (#6635) 2025-08-14 22:01:12 +08:00

README.md

@vben/backend-mock

Description

Vben Admin 数据 mock 服务,没有对接任何的数据库,所有数据都是模拟的,用于前端开发时提供数据支持。线上环境不再提供 mock 集成,可自行部署服务或者对接真实数据,由于 mock.js 等工具有一些限制,比如上传文件不行、无法模拟复杂的逻辑等,所以这里使用了真实的后端服务来实现。唯一麻烦的是本地需要同时启动后端服务和前端服务,但是这样可以更好的模拟真实环境。该服务不需要手动启动,已经集成在 vite 插件内,随应用一起启用。

Running the app

# development
$ pnpm run start

# production mode
$ pnpm run build