签入版本

This commit is contained in:
2026-10-10 19:17:02 +08:00
parent 3423dea03f
commit 32f941b631
232 changed files with 4264 additions and 6251 deletions
+5 -5
View File
@@ -131,13 +131,13 @@ class ExampleController extends BaseController
这些模块不仅可以直接使用,也是学习本框架开发模式的最佳参考。
## Vue3 + ElementPlus 前端
## Vue3 + NaiveUI 前端
前端采用主流技术栈,开发体验优秀:
- **Vue3 Composition API**:更灵活的组件逻辑组织
- **TypeScript**:类型安全,减少运行时错误
- **ElementPlus**:成熟的企业级 UI 组件库
- **NaiveUI**:成熟的企业级 UI 组件库
- **Pinia**:轻量级状态管理
- **Vite**:极速的开发服务器和构建工具
- **动态路由**:菜单和路由由后端驱动,前端无需硬编码
@@ -157,7 +157,7 @@ pnpm build # 生产环境构建
```bash
# 1. 从官方网站下载源码包并解压
cd thinkphp6
cd RXThinkCMF_ThinkPhp6_NaiveVue
# 2. 安装依赖
composer install
@@ -165,7 +165,7 @@ composer install
# 3. 配置 .env(数据库、JWT 密钥)
# 4. 导入数据库
mysql -u root -proot rxthinkcmf.thinkphp6.elevue < document/mysql/rxthinkcmf.thinkphp6.elevue.sql
mysql -u root -proot rxthinkcmf.thinkphp6.naivevue < document/mysql/rxthinkcmf.thinkphp6.naivevue.sql
# 5. 启动后端
php think run
@@ -206,7 +206,7 @@ TYPE = sqlite ; SQLite
- ThinkPHP 版本持续升级至 6.1.x
- PHP 版本要求 8.2+
- 前端从 Vue 2 升级到 Vue3 + ElementPlus
- 前端从 Vue 2 升级到 Vue3 + NaiveUI
- 代码生成器功能不断增强
- 安全机制持续完善