Explore module - multiple units


Sometimes you may want to display multiple explore blocks in a single page, or have different explore blocks across your site. You can achieve this by creating multiple explore workflows with different unit IDs.

For example, specify a unit ID in the <miso-explore> element:

<miso-explore unit-id="sidebar-1">
  <!-- ... -->
</miso-explore>

Then, you can access the workflow by the unit ID:

// note the plural form of `explores`
const workflow = client.ui.explores.get(unitId);