Skip to content

mannix-lei/vue3-vite-monorepo

Repository files navigation

vue3+vite monorepo

🎉 a monorepo project with pnpm workspace

💥 every single package has same structure, like src, public, dist, node_modules, package.json, vite.config.ts

below is simple introduction for single package

  • vue3 + pinia + vite + vant4
  • vue:vue3
  • pina: 3
  • vite: 6
  • vant:4
  • node: 18

🚀 before start

keep sure you have installed pnpm

pnpm -v

keep sure you have installed node 18

node -v

run pnpm prepare after pnpm install

pnpm prepare

🚀 install dependencies for all packages

this will install all dependencies for all packages

pnpm install

this will add a new package to the workspace

pnpm add @hy/xxx -w

🚀 run dev

pnpm run dev / pnpm dev

🚀 run build

pnpm run build / pnpm build

About

vue3 + pnpm + vite monorepo template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published