# ai-template-2026 **Repository Path**: tncs/ai-template-2026 ## Basic Information - **Project Name**: ai-template-2026 - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2026-05-20 - **Last Updated**: 2026-08-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ZiyiCraft 奕恒 Monorepo 基于 **Vite + Vue3 + ElementPlus + TypeScript + TSX + ESLint + Prettier + Husky** 的 pnpm monorepo 前端模版。 ## 子包结构 ``` packages/ ├── components/ # 通用组件库(Vue3 + TSX + ElementPlus) ├── showcase/ # 组件展示应用 SPA(Vue Router + Pinia) ├── utils/ # JS/TS 工具函数库 ├── api/ # 接口请求层(axios + 业务接口模块) └── docs/ # VitePress 文档站点(聚合上述子包) ``` | 子包 | 包名 | 说明 | | ---------- | ---------------------- | ------------ | | components | `@template/components` | 组件库 | | showcase | `@template/showcase` | 组件展示应用 | | utils | `@template/utils` | 工具库 | | api | `@template/api` | 接口层 | | docs | `@template/docs` | 文档站点 | ## 环境要求 - Node.js >= 18 - pnpm >= 8 ## 常用命令 ```bash # 安装依赖 pnpm install # 启动文档站点 pnpm dev:docs # 启动业务应用 pnpm dev:showcase # 启动组件库 playground pnpm dev:components # 构建全部子包 pnpm build # 代码检查与格式化 pnpm lint pnpm format ``` ## Git 提交 提交时会自动触发 husky + lint-staged,对暂存区的 `*.{js,jsx,ts,tsx,vue}` 执行 ESLint 与 Prettier。