https://github.com/laqudee/create-vue-business
create-vue-business是在create-vue-monorepo生成pnpm workspace项目中构建业务项目的CLI
https://github.com/laqudee/create-vue-business
create-vue-business create-vue-monorepo element-plus pnpm pnpm-workspace vant vite vue3
Last synced: over 1 year ago
JSON representation
create-vue-business是在create-vue-monorepo生成pnpm workspace项目中构建业务项目的CLI
- Host: GitHub
- URL: https://github.com/laqudee/create-vue-business
- Owner: laqudee
- License: other
- Created: 2023-03-28T14:01:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-13T13:47:21.000Z (about 3 years ago)
- Last Synced: 2025-03-30T22:02:21.585Z (over 1 year ago)
- Topics: create-vue-business, create-vue-monorepo, element-plus, pnpm, pnpm-workspace, vant, vite, vue3
- Language: JavaScript
- Homepage:
- Size: 1.06 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Create Vue Business
> 仿照`create-vue`写了一个生成一个 pnpm monorepo 的工作仓内部`packages`目录下业务项目的 CLI
- [参考:`create-vue`](https://github.com/vuejs/create-vue#readme)
- [参考:`create-vue-monorepo`](https://github.com/laqudee/create-vue-monorepo)
- 注意:该 CLI 只适合在使用`create-vue-monorepo`CLI 命令生成的项目中使用
## 使用
```shell
# 全局安装
pnpm add create-vue-business --global
```
```shell
# 在要新建业务项目的packages目录下
create-vue-business
```


## 构建
- 渲染核心代码 template
- 渲染配置文件
- web(默认使用 Element-plus)
- h5(默认使用 Vant)
- 渲染 package.json
## 选项
- web(默认使用 Element-plus)
- h5(默认使用 Vant)