Skip to content

基於 monorepo 建起的前端專案,有包含 apps/projectA、packages/utils、packages/components

Notifications You must be signed in to change notification settings

nick-jy-huang/monorepo_vue_vite_architecture

Repository files navigation

monorepo vue vite architecture

基於 monorepo 建起的前端專案,有包含 apps/projectA、packages/utils、packages/components。 apps/projectA 專案中調用了packages/utils、packages/components。

Install

pnpm i

# 事先打包 packages/components,後續 apps/project..即可引入直接調用打包完的 dist
pnpm build-components # ./package.json

File Tree

├─apps
|  └─projectA
│     └─node_modules
│        ├─components
│        └─utils
|
└─packages
    ├─components
    |  ├─UnKnown
    |  ├─Header
    |  └─Footer
    └─utils
       └─test

Start Project

pnpm -F @apps/projectA dev

About

基於 monorepo 建起的前端專案,有包含 apps/projectA、packages/utils、packages/components

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published