How badsaarow/quasar2-storybook-boilerplate works
Main Components
A. Development Environment
• Quasar Framework (Vue 3)
• Vite Build System
• TypeScript Support
• Storybook Environment
B. Application Architecture
• Core Application
• Component Library
• State Management
• Routing System
• Internationalization (i18n)
┌─ Development Environment ─────────────────────┐
• ┌─────────┐ ┌──────────┐ ┌────────────────┐ │
• Vite │ │ TypeScript│ │ DevContainer │ │
• ┘ └──────────┘ └────────────────┘ │
• ┘
┌─ Quasar Framework ──────────────────────────┐
• ┌─────────┐ ┌──────────┐ ┌───────────────┐ │
• Vue 3 │ │ Router │ │ Vuex Store │ │
• ┘ └──────────┘ └───────────────┘ │
• ┘
┌─ Application Components ────────────────────────────┐
• ┌─────────┐ ┌──────────┐ ┌────────┐ ┌──────────┐ │
• Layouts │ │ Pages │ │ i18n │ │Components│ │
• ┘ └──────────┘ └────────┘ └──────────┘ │
• ┘
┌─ Storybook Environment ───────────────────────┐
• ┌───────────────┐ ┌────────────────────────┐ │
• Story Files │ │ Component Documentation│ │
• ┘ └────────────────────────┘ │
• ┘
Connection Flows
• Build process flow (Vite → Application)
• Component documentation flow (Components → Storybook)
• Routing relationships (Router → Pages)
• State management flow (Store → Components)
• i18n integration (i18n → Components/Pages)
Important Details
A. Configuration Files:
• quasar.config.ts
• vite.config.js
• tsconfig.json
• .storybook configurations
B. Directory Structure:
• src/components
• src/pages
• src/layouts
• src/stores
• src/router
• src/i18n
C. Build & Development Tools:
• Development container setup
• CI/CD workflows
• Quality tools (ESLint, Prettier)
Specific Project Elements
• The boot process (src/boot)
• Asset management (src/assets)
• CSS/SCSS structure (src/css)
• Store management (src/stores)
• Component documentation flow (src/stories)