# vue-monorepo-template **Repository Path**: uivjs/vue-monorepo-template ## Basic Information - **Project Name**: vue-monorepo-template - **Description**: 简单的 vue 3 组件包开发工程实例模板。 - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-12-31 - **Last Updated**: 2022-05-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README vue-monorepo-template === [![Downloads](https://img.shields.io/static/v1?label=Github&message=repo&color=green&style=flat&logo=github)](https://github.com/tsbbjs/vue-monorepo-template) [![Build & Deploy](https://github.com/tsbbjs/vue-monorepo-template/actions/workflows/ci.yml/badge.svg)](https://github.com/tsbbjs/vue-monorepo-template/actions/workflows/ci.yml) 简单的 [`vue 3`](https://v3.vuejs.org/) 包开发工程实例模板。 ### 目录结构 ```shell . ├── README.md ├── lerna.json ├── package.json ├── packages # 放置包的目录 │   ├── base # 📦 包 @vue-monorepo-template/base │   │   ├── cjs # 🔄 编译后的 cjs 目录 │   │   ├── esm # 🔄 编译后的 esm 目录 │   │   ├── package.json │   │   ├── src # 包源码目录 │   │   └── tsconfig.json │   └── simple # 📦 包 @vue-monorepo-template/simple ├── tsconfig.json └── website # 🐝 包实例测试,网站 ├── README.md ├── babel.config.js ├── package.json ├── public ├── src └── vue.config.js ``` ### 开发 1. 安装 ```shell npm install ``` 2. 安装包和实例中的依赖 ```shell npm run bootstrap ``` 3. 编译包中代码 ```shell npm run build # 编译所有包 📦 代码 npm run watch:simple # 实时编译 📦 @vue-monorepo-template/simple npm run watch:base # 实时编译 📦 @vue-monorepo-template/base ``` 4. 启动 `website` 实例网站 ```shell npm run start ``` ### License Licensed under the MIT License.