Skip to content
vue3-monorepo-builder logo

Vue3 Monorepo Builder

vue3-monorepo-builder

创建 Vue 3 Monorepo 工程骨架,包含后台运管系统和门户介绍系统。Trigger keywords: (1) "创建 Vue3 Monorepo 项目" (2) "创建后台管理系统" (3) "创建门户介绍系统" (4) "搭建 Vue3 项目骨架" (5) "创建运管系统" (6) "创建企业门户"。支持 pnpm workspaces + Vite + TypeScript + Pinia + Vue Router + Element Plus。

SKILL.md

Full skill instructions

Vue3 Monorepo Builder

快速创建 Vue 3 Monorepo 工程,包含后台运管系统和门户介绍系统。

项目结构

project/
├── apps/
│   ├── example-app/     # 后台运管系统
│   └── example-b-app/   # 门户介绍系统
├── packages/
│   └── example-lib/    # 组件库
├── pnpm-workspace.yaml
└── package.json

快速开始

创建 Monorepo 骨架

mkdir my-project && cd my-project
pnpm init

创建以下文件:

  1. package.json - 根配置
  2. pnpm-workspace.yaml - workspaces 配置
  3. 目录结构

安装依赖

pnpm install

创建应用

# 创建后台运管系统
pnpm create vue-app example-app

# 创建门户系统
pnpm create vue-app example-b-app --portal

常用命令

pnpm dev                              # 并行运行所有 app
pnpm --filter example-app dev         # 运行单个 app
pnpm --filter example-app build       # 构建
pnpm --filter example-app test        # 测试
pnpm --filter example-app test -- ExampleName  # 运行单个测试
pnpm --filter example-app lint        # Lint
pnpm --filter example-lib build       # 构建组件库

后台运管系统功能

  • 登录页 (/​login) - 账号: rabi / rabi001
  • Layout: 左侧菜单 + 顶部搜索 + 右侧内容
  • Dashboard (/​dashboard): 统计数据、最近活动
  • 用户管理 (/​system/​user): 表格 + 搜索 + 分页
  • 角色管理 (/​system/​role): 表格 + 搜索 + 分页

门户系统功能

  • 登录页 (/​login) - 任意账号密码
  • PortalLayout: 顶部导航 + 内容区 + 底部
  • 首页 (/​home): 企业介绍
  • 关于我们 (/​about): 公司介绍、团队
  • 产品服务 (/​products): 产品列表
  • 联系我们 (/​contact): 联系方式、留言表单

技术栈

  • Vue 3 + Composition API
  • Vite 5
  • TypeScript (strict)
  • Pinia (状态管理)
  • Vue Router 4
  • Element Plus (UI 组件库)
  • pnpm workspaces

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View