Customize a Varbase Single Directory Components (SDC) In a Custom Theme
Example:
Copy the Varbase Component to the Custom theme
cd PATH_TO_THE_PROJECT/docroot
cp -r modules/contrib/varbase_components/components/molecules/alert themes/custom/PROJECT_THEME/components/molecules/alertAdd replaces to the Copied Component
replaces: 'varbase_components:alert'name: Alert
replaces: 'varbase_components:alert'Add the Custom SCSS files to the Webpack Config for Components
Compile SASS to CSS files for components
SASS to CSS files for componentsChange the SDC Component to Customize
Defining Schemas for SDC Component Metadata
Drafts of JSON Schema
Options to custom
Proof of Concept: Custom Varbase Blog Card Components
Offering an Example Avenue
Example: Use the General Cards/Teasers
Field mapping with Components
Example: Impressed Card as a View Mode for a Content Type



More Info and FAQ about SDC
Read: Using Single Directory Components
SDC Examples
SDC Examples module
Varbase Components module
Last updated