How pubg/vlossom works
Project type and purpose
• This is a monorepo hosting a Vue 3 UI component library (“vlossom”), plus a documentation site (“docs”) and Storybook playground.
• The primary deliverable is an installable npm package of UI components, with supporting sites for docs and interactive examples.
File structure
• Top-level:
• .github/workflows – CI/CD definitions (chromatic, ci, release).
• packages/docs – standalone Vue+Vite–powered documentation site.
• packages/vlossom – the component library with source, tests, Storybook config, playground and build configs.
• Within packages/vlossom:
• src/components – all Vue components, each with its own folder, tests and Storybook stories.
• src/composables, stores, plugins, utils – shared logic modules.
• src/storybook – global Storybook configuration and custom decorators.
• vite.config.ts, tsconfig – build and type definitions.
• package.json – library entry, peer dependencies, build scripts.
• The monorepo uses npm workspaces (package.json top-level) and standard Vue tooling (Vite, TypeScript).
README for additional insights
• Confirms Vue 3 library, installable via npm or CDN.
• Provides “playground” and “storybook” scripts for local development.
• CI includes Chromatic for visual regression.