签入版本

This commit is contained in:
2026-10-08 17:50:29 +08:00
parent 809750b47e
commit e213a9b31d
444 changed files with 39366 additions and 37533 deletions
@@ -87,7 +87,7 @@ export const sharedConfig = defineConfig({
socialLinks: [
{
icon: "github",
link: "https://gitee.com/rxthinkcmf/RXThinkCMF_ThinkPhp6_EleVue",
link: "https://gitee.com/rxthinkcmf/RXThinkCMF_Laravel13_EleVue",
},
],
@@ -98,7 +98,7 @@ export const sharedConfig = defineConfig({
},
editLink: {
pattern: "https://gitee.com/rxthinkcmf/RXThinkCMF_ThinkPhp6_EleVue",
pattern: "https://gitee.com/rxthinkcmf/RXThinkCMF_Laravel13_EleVue",
text: "对本页提出修改建议",
},
@@ -1,9 +1,9 @@
import type { DefaultTheme, LocaleSpecificConfig } from "vitepress";
export const META_URL = "https://www.rxthink.cn";
export const META_TITLE = "RXThinkCMF ThinkPHP6+ElementPlus 开发文档";
export const META_TITLE = "RXThinkCMF Laravel13+ElementPlus 开发文档";
export const META_DESCRIPTION =
"RXThinkCMF 企业级前后端分离后台管理系统 - ThinkPHP6.1 + Vue3 + ElementPlus";
"RXThinkCMF 企业级前后端分离后台管理系统 - Laravel 13 + Vue3 + ElementPlus";
export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
description: META_DESCRIPTION,
@@ -17,7 +17,7 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
themeConfig: {
editLink: {
pattern: "https://gitee.com/rxthink/thinkphp6",
pattern: "https://gitee.com/rxthinkcmf/RXThinkCMF_Laravel13_EleVue",
text: "对本页提出修改建议",
},
@@ -147,8 +147,8 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
text: "相关链接",
items: [
{ text: "官方网站", link: "https://www.rxthink.cn" },
{ text: "Gitee 仓库", link: "https://gitee.com/rxthinkcmf/RXThinkCMF_ThinkPhp6_EleVue" },
{ text: "ThinkPHP 官网", link: "https://www.thinkphp.cn/" },
{ text: "Gitee 仓库", link: "https://gitee.com/rxthinkcmf/RXThinkCMF_Laravel13_EleVue" },
{ text: "Laravel 官网", link: "https://laravel.com/" },
{ text: "Vue3 文档", link: "https://cn.vuejs.org/" },
{ text: "ElementPlus", link: "https://element-plus.org/zh-CN/" },
],
@@ -174,20 +174,21 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
},
// ================================================================
// 第 2 章:快速入门
// 第 2 章:快速入门(新增 2.2 Laragon 环境搭建,后续顺延)
// ================================================================
{
text: "🚀 2. 快速入门",
collapsed: false,
items: [
{ text: "2.1 开发环境准备", link: "/zh/quickstart/environment.html" },
{ text: "2.2 后端服务启动", link: "/zh/quickstart/backend-start.html" },
{ text: "2.3 前端服务启动", link: "/zh/quickstart/frontend-start.html" },
{ text: "2.4 数据库初始化", link: "/zh/quickstart/database-init.html" },
{ text: "2.5 环境变量配置", link: "/zh/quickstart/env-vars.html" },
{ text: "2.6 第一个接口调试", link: "/zh/quickstart/first-api.html" },
{ text: "2.7 Docker 快速体验", link: "/zh/quickstart/docker.html" },
{ text: "2.8 常见问题 FAQ", link: "/zh/quickstart/faq.html" },
{ text: "2.2 Laragon 环境搭建", link: "/zh/quickstart/laragon.html" },
{ text: "2.3 后端服务启动", link: "/zh/quickstart/backend-start.html" },
{ text: "2.4 前端服务启动", link: "/zh/quickstart/frontend-start.html" },
{ text: "2.5 数据库初始化", link: "/zh/quickstart/database-init.html" },
{ text: "2.6 环境变量配置", link: "/zh/quickstart/env-vars.html" },
{ text: "2.7 第一个接口调试", link: "/zh/quickstart/first-api.html" },
{ text: "2.8 Docker 快速体验", link: "/zh/quickstart/docker.html" },
{ text: "2.9 常见问题 FAQ", link: "/zh/quickstart/faq.html" },
],
},
@@ -201,8 +202,8 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
{ text: "3.1 概述与目标", link: "/zh/guide/overview.html" },
{ text: "3.2 数据库建表", link: "/zh/guide/database.html" },
{ text: "3.3 模型层开发", link: "/zh/guide/model.html" },
{ text: "3.4 验证器开发", link: "/zh/guide/validator.html" },
{ text: "3.5 逻辑层开发", link: "/zh/guide/logic.html" },
{ text: "3.4 FormRequest 验证器", link: "/zh/guide/validator.html" },
{ text: "3.5 Service 层开发", link: "/zh/guide/logic.html" },
{ text: "3.6 控制器开发", link: "/zh/guide/controller.html" },
{ text: "3.7 路由注册", link: "/zh/guide/route.html" },
{ text: "3.8 权限节点配置", link: "/zh/guide/permission.html" },
@@ -235,6 +236,7 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
// ================================================================
// 第 5 章:核心功能
// (删除「防重复提交」;5.16 重写为「统一响应与异常抛出」;注解系统 5.17)
// ================================================================
{
text: "🔐 5. 核心功能",
@@ -271,21 +273,20 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
items: [
{ text: "5.14 操作日志", link: "/zh/core/operation-log.html" },
{ text: "5.15 登录日志", link: "/zh/core/login-log.html" },
{ text: "5.16 异常与响应处理", link: "/zh/core/exception.html" },
],
},
{
text: "防护与治理",
text: "响应与异常",
collapsed: false,
items: [
{ text: "5.17 防重复提交", link: "/zh/core/idempotent.html" },
{ text: "5.16 统一响应与异常抛出", link: "/zh/core/exception.html" },
],
},
{
text: "注解系统",
collapsed: false,
items: [
{ text: "5.18 注解系统总览", link: "/zh/core/attributes.html" },
{ text: "5.17 注解系统总览", link: "/zh/core/attributes.html" },
],
},
],
@@ -394,7 +395,6 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
{ text: "9.14 样式与主题定制", link: "/zh/frontend/style.html" },
{ text: "9.15 布局系统", link: "/zh/frontend/layout.html" },
{ text: "9.16 工具函数", link: "/zh/frontend/utils.html" },
{ text: "9.17 国际化(i18n)", link: "/zh/frontend/i18n.html" },
],
},
],
@@ -470,7 +470,7 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
},
// ================================================================
// 附录
// 附录(新增 K:Artisan 命令速查,L~O 顺延)
// ================================================================
{
text: "📄 附录",
@@ -486,10 +486,11 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
{ text: "H. 前端 Store 速查", link: "/zh/appendix/stores.html" },
{ text: "I. 前端 Enums 速查", link: "/zh/appendix/enums.html" },
{ text: "J. 术语表", link: "/zh/appendix/glossary.html" },
{ text: "K. 贡献指南", link: "/zh/other/contributing.html" },
{ text: "L. 免责声明", link: "/zh/other/declare.html" },
{ text: "M. 广告赞助", link: "/zh/other/sponsor.html" },
{ text: "N. 开源协议", link: "https://gitee.com/rxthinkcmf/RXThinkCMF_ThinkPhp6_EleVue" },
{ text: "K. Artisan 命令速查", link: "/zh/appendix/commands.html" },
{ text: "L. 贡献指南", link: "/zh/other/contributing.html" },
{ text: "M. 免责声明", link: "/zh/other/declare.html" },
{ text: "N. 广告赞助", link: "/zh/other/sponsor.html" },
{ text: "O. 开源协议", link: "https://gitee.com/rxthinkcmf/RXThinkCMF_Laravel13_EleVue" },
],
},
],
@@ -539,4 +540,4 @@ export const zhSearch: DefaultTheme.AlgoliaSearchOptions["locales"] = {
},
},
},
};
};