【完善】前端,项目初始化文档

pull/193/head
chudong 2025-05-29 16:37:04 +08:00
parent 29e5cc8304
commit 6e73d20413
2 changed files with 14 additions and 18 deletions

View File

@ -5,7 +5,7 @@
## 技术栈 ## 技术栈
- **构建工具**: Turborepo、Vite - **构建工具**: Turborepo、Vite
- **前端框架**: Vue 3、React、Svelte - **前端框架**: Vue 3
- **语言**: TypeScript - **语言**: TypeScript
- **样式**: Tailwind CSS、CSS Modules - **样式**: Tailwind CSS、CSS Modules
- **UI 组件库**: Naive UI - **UI 组件库**: Naive UI
@ -58,13 +58,18 @@ pnpm install
### 启动开发环境 ### 启动开发环境
```bash
# 初次运行请先执行pnpm build 编译当前的整个应用包的依赖库
pnpm build
```
```bash ```bash
# 启动所有应用 # 启动所有应用
pnpm dev pnpm dev
# 仅启动云控制应用 # 启动指定应用-例如allin-ssl
pnpm devcloud pnpm dev --filter allin-ssl
```
### 构建项目 ### 构建项目
@ -72,8 +77,9 @@ pnpm devcloud
# 构建所有应用 # 构建所有应用
pnpm build pnpm build
# 仅构建云控制应用 # 构建指定应用-例如allin-ssl
pnpm buildcloud pnpm build --filter allin-ssl
``` ```
### 其他命令 ### 其他命令
@ -82,20 +88,9 @@ pnpm buildcloud
# 代码检查 # 代码检查
pnpm lint pnpm lint
# 类型检查 # 清理项目包
pnpm check-types
# 运行测试
pnpm test
# 清理项目
pnpm clear pnpm clear
# 同步项目
pnpm sync
# Cursor 备份
pnpm cursor:backup
``` ```
## 开发规范 ## 开发规范

View File

@ -105,6 +105,7 @@ export default defineConfig({
// targetDir: 'allinssl-gitlab', // targetDir: 'allinssl-gitlab',
// discardChanges: true, // discardChanges: true,
// }, // },
{ {
repo: 'https://github.com/allinssl/allinssl.git', repo: 'https://github.com/allinssl/allinssl.git',
branch: '1.0.4', branch: '1.0.4',