[READ-ONLY] Mirror of https://github.com/usrrname/stunning-pancake. test driving pnpm workspaces for component lib with nuxt
README.md

Boilerplate pnpm vue3 with nuxt app workspace #

WIP: test-driving pnpm workspaces with Vue 3, Nuxt 3, Tailwindcss, Typescript and Vite

Stack #

  • pnpm workspaces for workspace management
  • vue 3 component library with tailwindcss, vitest and typescript
  • nuxt 3 kitchen sink app
  • pnpm package manager
  • vite for bundling in each project
.
├── README.md
├── apps/
│   └──nuxt3/              # kitchen sink project 
├── lib                    # component lib source coee
│   ├── src/   
│   │   ├── .storybook/    # Storybook config
│   │   ├── components/    # components
│   │   └── styles/        # tailwind css files
│   ├── package.json
│   ├── tailwind.config.js
│   ├── postcss.config.js
│   └── tsconfig.json
├── package.json
├── packages               # packages for publishing
├── pnpm-lock.yaml
├── pnpm-workspace.yaml
└── tsconfig.json

Getting Started #

npm install -g pnpm or brew install pnpm

If you have installed the latest v16.x or greater node version in your system, then enable the pnpm using the below cmd

corepack enable
corepack prepare pnpm@latest --activate

Storybook installed with the following command

pnpm dlx storybook@latest init --type=vue3 --package-manager=pnpm