feat(project): 创建基础项目架构,上传基础架构文件 feat(CI): 提供.drone.yml,可以用于对后续更新配置文件做CI验证 feat(image): 完成镜像搭建knowai-nuxt-base:1.0.0,上传对应Dockerfile
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
tobegold574
2025-11-03 15:11:42 +08:00
parent 36a5672b00
commit 1254ce1420
12 changed files with 10020 additions and 18 deletions

View File

@@ -5,25 +5,15 @@
## 具体负责内容
### 1. 配置文件管理
- `nuxt.config.ts` - Nuxt构建配置、插件配置
- `tsconfig.json` - TypeScript类型检查规则
- `package.json` - 核心依赖版本锁定
### 1. 基础环境镜像
- Docker基础镜像Node + Nuxt + Vue核心环境
- 核心依赖版本锁定和标准化
- 基础构建配置模板
### 2. 全局类型定义
- `types/global.d.ts` - 全局接口、类型定义
- API响应类型规范
- 业务数据模型定义
### 3. 核心工具函数
- `utils/request.ts` - HTTP请求封装
- `utils/date.ts` - 日期格式化工具
- `utils/validate.ts` - 通用验证函数
### 4. 样式系统基础
- `assets/scss/variables.scss` - 设计系统变量
- 主题配色方案
- 响应式断点定义
### 2. 配置文件模板
- `nuxt.config.ts` - Nuxt构建配置模板
- `tsconfig.json` - TypeScript配置模板
- 其他基础配置文件模板
## 更新记录