1
Watch
13
Star
2
Fork
1
Issue

Simple vue 3 package development project example template.

tsbbjs
tsbbjs
pushedAt 6 days ago

tsbbjs/vue-monorepo-template

vue-monorepo-template

Downloads Build & Deploy

Simple vue 3 package development project example template.

Directory Structure

.
├── README.md
├── lerna.json
├── package.json
├── packages             # The directory where the package is placed
│   ├── base                # 📦 package @vue-monorepo-template/base
│   │   ├── cjs             # 🔄 Compiled cjs directory
│   │   ├── esm             # 🔄 Compiled esm directory
│   │   ├── package.json
│   │   ├── src             # Package source directory
│   │   └── tsconfig.json
│   └── simple              # 📦 package @vue-monorepo-template/simple
├── tsconfig.json
└── website              # 🐝 Package example test, website
    ├── README.md
    ├── babel.config.js
    ├── package.json
    ├── public
    ├── src
    └── vue.config.js

Development

  1. Install
npm install
  1. Dependencies in the installation package and example
npm run bootstrap
  1. Compile the code in the package
npm run build        # Compile all packages 📦 code

npm run watch:simple # Real-time compilation 📦 @vue-monorepo-template/simple
npm run watch:base   # Real-time compilation 📦 @vue-monorepo-template/base
  1. Start the website example website
npm run start

License

Licensed under the MIT License.

ucloud ads