Skip to content

Instantly share code, notes, and snippets.

View andiappan-ar's full-sized avatar
🏠
Working from home

Andiappan andiappan-ar

🏠
Working from home
View GitHub Profile
@andiappan-ar
andiappan-ar / Readme.md
Last active August 20, 2023 13:50
Sitecore headless JSS customize component scaffold creation

How to customize Sitecore JSS scaffold component

Requirement

We have a component group which is similar to our helix layer. Example Banner folder contains different types of banner components.

  1. We need a command like below to create a component

> jss scaffold <ComponentName> <FeatureName>

  1. This command needs to create a component under a specific location “/src/components/feature/{FeatureName}/ComponentName”