How gomah/bulmil works
Main Components Architecture
a) Core Library Layer:
• Stencil.js compiler and Web Components runtime
• Core components directory structure (elements, form, grid, layout)
b) Framework Integration Layer:
• This as a wrapper around the core
• Bindings for:
• React (@bulmil/react)
• Vue (@bulmil/vue)
• Angular (@bulmil/angular)
• Svelte (@bulmil/svelte)
c) Distribution Layer:
• Output channels:
• NPM packages
• CDN distribution
• Framework-specific packages
Component Organization
Create sub-sections showing:
a) Core Components Categories:
• Form Components (input, select, checkbox, etc.)
• Layout Components (container, section, footer)
• Grid System (columns, column)
• Components (card, modal, navbar, etc.)
b) Build Pipeline:
• Stencil compiler
• CSS processing
• Framework bindings generation
• Distribution packaging
Data Flow and Dependencies
• Component compilation flow
• Framework binding generation
• Style inheritance from Bulma
• Package distribution paths
Integration Points
Highlight:
• Framework-specific entry points
• Polyfill application process
• CSS inclusion methods
• Custom element registration
Specific Implementation Details
• Component definition process
• Style compilation pipeline
• Framework-specific wrapper generation
• Testing infrastructure