feat: 完成 NestJS 后端核心底座开发 (M1-M6) 和 Ant Design Vue 前端迁移
主要更新: 1. 后端核心底座完成 (M1-M6): - 健康检查、指标监控、分布式锁 - 事件总线、队列系统、事务管理 - 安全守卫、多租户隔离、存储适配器 - 审计日志、配置管理、多语言支持 2. 前端迁移到 Ant Design Vue: - 从 Element Plus 迁移到 Ant Design Vue - 完善 system 模块 (role/menu/dept) - 修复依赖和配置问题 3. 文档完善: - AI 开发工作流文档 - 架构约束和开发规范 - 项目进度跟踪 4. 其他改进: - 修复编译错误和类型问题 - 完善测试用例 - 优化项目结构
This commit is contained in:
@@ -5,7 +5,7 @@ import { defineConfig } from 'vitepress';
|
||||
import { version } from '../../../package.json';
|
||||
|
||||
export const zh = defineConfig({
|
||||
description: 'Vben Admin & 企业级管理系统框架',
|
||||
description: 'WWJCloud & 企业级管理系统框架',
|
||||
lang: 'zh-Hans',
|
||||
themeConfig: {
|
||||
darkModeSwitchLabel: '主题',
|
||||
@@ -20,7 +20,7 @@ export const zh = defineConfig({
|
||||
text: '在 GitHub 上编辑此页面',
|
||||
},
|
||||
footer: {
|
||||
copyright: `Copyright © 2020-${new Date().getFullYear()} Vben`,
|
||||
copyright: `Copyright © 2024-${new Date().getFullYear()} WWJCloud`,
|
||||
message: '基于 MIT 许可发布.',
|
||||
},
|
||||
langMenuLabel: '多语言',
|
||||
@@ -42,7 +42,8 @@ export const zh = defineConfig({
|
||||
sidebar: {
|
||||
'/commercial/': { base: '/commercial/', items: sidebarCommercial() },
|
||||
'/components/': { base: '/components/', items: sidebarComponents() },
|
||||
'/guide/': { base: '/guide/', items: sidebarGuide() },
|
||||
'/vben/guide/': { base: '/vben/guide/', items: sidebarGuide() },
|
||||
'/wwjcloud/': { base: '/wwjcloud/', items: sidebarWwjcloud() },
|
||||
},
|
||||
sidebarMenuLabel: '菜单',
|
||||
},
|
||||
@@ -201,16 +202,23 @@ function sidebarComponents(): DefaultTheme.SidebarItem[] {
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
|
||||
function nav(): DefaultTheme.NavItem[] {
|
||||
return [
|
||||
{
|
||||
activeMatch: '^/(guide|components)/',
|
||||
activeMatch: '^/(vben/guide|components|wwjcloud)/',
|
||||
text: '文档',
|
||||
items: [
|
||||
{
|
||||
activeMatch: '^/guide/',
|
||||
link: '/guide/introduction/vben',
|
||||
text: '指南',
|
||||
activeMatch: '^/wwjcloud/',
|
||||
link: '/wwjcloud/',
|
||||
text: 'WWJCloud',
|
||||
},
|
||||
{
|
||||
activeMatch: '^/vben/guide/',
|
||||
link: '/vben/guide/introduction/vben',
|
||||
text: 'Vben Admin',
|
||||
},
|
||||
{
|
||||
activeMatch: '^/components/',
|
||||
@@ -313,6 +321,66 @@ function nav(): DefaultTheme.NavItem[] {
|
||||
];
|
||||
}
|
||||
|
||||
function sidebarWwjcloud(): DefaultTheme.SidebarItem[] {
|
||||
return [
|
||||
{
|
||||
text: '快速开始',
|
||||
items: [
|
||||
{ link: '/', text: '框架概览' },
|
||||
{ link: 'guide/introduction', text: '框架介绍' },
|
||||
{ link: 'guide/quick-start', text: '快速开始' },
|
||||
{ link: 'guide/concepts', text: '基础概念' },
|
||||
],
|
||||
},
|
||||
{
|
||||
text: '核心架构',
|
||||
items: [
|
||||
{ link: 'structure/overview', text: '整体架构' },
|
||||
{ link: 'architecture/constraints', text: '架构约束' },
|
||||
{ link: 'gateway/index', text: '网关系统' },
|
||||
],
|
||||
},
|
||||
{
|
||||
text: 'API 规范',
|
||||
items: [
|
||||
{ link: 'openapi/standards/restful', text: 'RESTful API 设计' },
|
||||
{ link: 'openapi/standards/response', text: '响应格式规范' },
|
||||
{ link: 'openapi/standards/error-codes', text: '错误码规范' },
|
||||
],
|
||||
},
|
||||
{
|
||||
text: 'API 文档',
|
||||
items: [
|
||||
{ link: 'openapi/api/index', text: 'API 总览' },
|
||||
{
|
||||
text: '前台 API',
|
||||
items: [
|
||||
{ link: 'openapi/api/frontend/index', text: '前台 API 概览' },
|
||||
],
|
||||
},
|
||||
{
|
||||
text: '后台 API',
|
||||
items: [
|
||||
{ link: 'openapi/api/adminapi/index', text: '后台 API 概览' },
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
text: '发展规划',
|
||||
items: [
|
||||
{ link: 'project/roadmap', text: 'Roadmap' },
|
||||
],
|
||||
},
|
||||
{
|
||||
text: '对比与选型',
|
||||
items: [
|
||||
{ link: 'project/comparison', text: '方案对比' },
|
||||
],
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
export const search: DefaultTheme.AlgoliaSearchOptions['locales'] = {
|
||||
root: {
|
||||
placeholder: '搜索文档',
|
||||
|
||||
Reference in New Issue
Block a user