Skip to content

Simple vue 3 package development project example template.

License

Notifications You must be signed in to change notification settings

tsbbjs/vue-monorepo-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

610248c · May 20, 2024

History

60 Commits
May 20, 2024
May 20, 2024
Oct 20, 2023
Oct 20, 2023
Nov 21, 2021
Oct 20, 2023
Nov 21, 2021
Nov 21, 2021
Nov 21, 2021
Dec 31, 2021
Dec 31, 2021
Oct 20, 2023
May 20, 2024
Nov 21, 2021
May 20, 2024

Repository files navigation

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.