Add additional root placeholders in a Sitecore-first JSS sample app

Version: 22.x

By default, JSS applications define only one root placeholder in the Layout component, but you can add multiple root placeholders if your use case requires it.

To define multiple root placeholders:

  1. Add additional placeholder instances in your JSS Layout component, and give each placeholder a unique name.

  2. Add the new root placeholders to the layout definition item in Sitecore.

Do you have some feedback for us?

If you have suggestions for improving this article,